Mr Kennedy Did you get a chance to look at ServletOutputStreamWrapper class? http://struts.apache.org/2.x/struts2-core/apidocs/index.html
Here is a q&d example that uses it http://rifers.org:8088/browse/~raw,r=3183/rifers/jhighlight/trunk/src/com/uwyn/jhighlight/servlet/HighlightFilter.java Anyone else? Martin-- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Dave Kennedy" <[EMAIL PROTECTED]> To: <user@struts.apache.org> Sent: Monday, September 11, 2006 3:22 AM Subject: Download file from server and save on client >I need to download a file from a server to client computer using Struts. > I've implemented StrutsFileDownload from the Struts Wiki, but this displays > the contents of the file > http://wiki.apache.org/struts/StrutsFileDownload > > > How can I save the file on the client drive instead of displaying the > contents? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >