Yes, you can write to the response directly, but then be sure to return "null" from your perform method.
Sean ----- Original Message ----- From: "Firmin David" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 6:42 PM Subject: Writing to the ActionServlet response > Hi All, > I'm keen to be able to write out a dynamically generated file to the client. > > Is there a way I can write it straight to the ActionServlet response from > the Struts Action.perform() method I'm in, or is there a better way? > I know I have access to the response in the perform method, but will writing > straight to it really work?? > > Thanks and regards > Dave > > > ************************************************************************ > The information in this email is confidential and is intended solely > for the addressee(s). > Access to this email by anyone else is unauthorised. If you are not > an intended recipient, please notify the sender of this email > immediately. You should not copy, use or disseminate the > information contained in the email. > Any views expressed in this message are those of the individual > sender, except where the sender specifically states them to be > the views of Capco. > > http://www.capco.com > *********************************************************************** > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>