Peter Courcoux <[EMAIL PROTECTED]> writes:
>Hi all,
>I have recently changed from using turbine 2.2-b3 to 2.2.1 and from
>using VelocityECSLayout to VelocityOnlyLayout.
Actually, I'm getting more and more unhappy with the deprecation of
VelocityECSLayout. There seem to be many quirks that can't be fixed
in a clean manner. We might have to think about this a little more.
>One of my actions which extends VelocitySecureAction handles a file
>download by obtaining the HttpServletResponse setting the headers and
>then obtaining and writing directly to the ServletOutputStream.
>Before the changes outlined above this caused no problem. Having made
>the changes the following Exception occurs after the completion of the
>download and closing the ServletOutputStream.
Could you please post some code snippets. How do you do the file
download? Directly from the action (you shouldn't do that) or do you
have a screen which does the download to which you redirect? I'm
getting a little scared by reading that you try to manipulate the
Servlet output stream by yourself. :-)
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]