on 1/26/01 10:31 AM, "Neeme Praks" <[EMAIL PROTECTED]> wrote:
> yes, I know all that... I was more hoping that there would be some way to
> tell to Turbine within an action that "hey! don't do anything more, I
> already wrote everything to response!"...
Point being that you shouldn't write things to the response from an
Action...you are missing the point where execution should be processed...
> How else would you implement an action that does file download (FileServlet
> equivalent)? An action that reads a file from the filesystem and writes it
> to the response. I could write a separate servlet for that but actions are
> more convenient and the code has to share the access-control system with
> Turbine...
You don't do that as an Action, you do that as a Screen. Check out the
ImageServer.java (I think this code moved into the TDK)...
> If the feature is missing from Turbine, how/where could we add it? I think I
> won't be the only person with such a need.
It isn't missing...
-jon
--
Honk if you love peace and quiet.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]