Chris-
The documentation for the Action Class
http://struts.apache.org/api/org/apache/struts/action/Action.html
shows that we can use
ActionObject.setServlet(ActionServletObjectToAttach)
Curious as to why you want to veer off from originating Servlet to another Servlet?
Martin-

----- Original Message ----- From: "Chris Pat" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, October 05, 2005 10:52 AM
Subject: action -> servlet


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