Re: serving binary files

2005-12-28 Thread Emmanouil Batsis
Daniel Blumenthal wrote: Hi there, and happy holidays! U 2. I usually have an action pick up the binary stream (and related info), put it in the request scope and then forward to a servlet responsible for building the response using that info from the request context. Never liked action

RE: serving binary files

2005-12-28 Thread Daniel Blumenthal
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper > Sent: Wednesday, December 28, 2005 12:28 AM > To: user@struts.apache.org > Subject: Re: serving binary files > > Daniel Blumenthal wrote: > > Hi there, and happy ho

Re: serving binary files

2005-12-27 Thread Laurie Harper
Daniel Blumenthal wrote: Hi there, and happy holidays! I have an application in which there are certain files which are only accessible by certain users. So, when a request comes to my "GetFile" Action, I first verify that they have the correct permissions, then send the file by opening the f

serving binary files

2005-12-24 Thread Daniel Blumenthal
Hi there, and happy holidays! I have an application in which there are certain files which are only accessible by certain users. So, when a request comes to my "GetFile" Action, I first verify that they have the correct permissions, then send the file by opening the file and reading it into the