On Wednesday, January 23, 2002, at 06:56 AM, Weaver, Scott wrote: >> I need to be able to act like a web server to my >> client and send back binary data like image/jpeg; so must I use >> getOutputStream()? > > You may want to check out org.apache.turbine.modules.screens.RawScreen. > I've never used it but from what it says in the javadocs, this might do > the > trick for you.
We use RawScreen to allow uses to download binary files. It has worked great for us. Added bonus, we can apply Turbine's security mechanisms to ensure that users can only download their own files. -Eric -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
