Hi, If you are writing the response from an Action (which yes, you can do as you describe), you should return null from execute(). This indicates to Struts that you have taken responsibility for rendering the response and no forward should take place, the response should simply be returned as it exists at that point.
-- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Mon, January 23, 2006 1:55 pm, [EMAIL PROTECTED] said: > > I need to return a differnt kind of resposne type. Its an excel file if > your curious. I think I understand how to do this with a plain servlet, > but I am trying to fit it into the structure of the struts architecture. > Can someone explain to me how to do this? In particular, can I just grab > the response stream from the response object I get in the execute method > and start writing to it. If so, what becomes of the forward I'm supposed > to return. > > Feel free to inform me of my misuse of the platform if that's the case. > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > > --------------------------------------------------------------------- > 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]