For the path, try using the same path that you would use if you were
calling the servlet directly from the browser, without the application
context.

You should also consider generating the file from the Action itself. 
The Action does have access to the servlet output stream and the html
headers.  If you go this route, you can generate the entire output
from your Action class and have it return null.

Hubert

On 10/5/05, Chris Pat <[EMAIL PROTECTED]> wrote:
> Hello
> Is/how possible to forward from an Action to a servlet
> even indirectly?  I try with a global forwards and
> cant get the path right.
>
> This is to get around the design that I have the
> Action create the file and I just want to serve the
> file to a browser.  My servelet does it with
> ServletStream and directly writing the html headers.
> The simplest is to just have the Action give it the
> file name.  If I cant do it from an Action can I do
> this with an Action?  Do I make the return be to a jsp
> that/how serves the file?  Thank you.
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to