You can use a servlet push to accomplish this. Change the content type in the response header to text and then use print.out statements to output each line of text. This is a very general explanation so I leave it up to you to research the specifics. BTW you can use this technique to output about any type of file; just change the response header content type to what you need.
-----Original Message----- From: R. BIGGS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 11:32 PM To: Struts Users Mailing List Subject: Re: Downloading files locally What I have is a editor type of application in a browser. I wish to allow the user to save the contents of what the entered locally to their machine. ----- Original Message ----- From: "Barr, Scott [IBM GSA]" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 11:08 PM Subject: RE: Downloading files locally > > You mean the ability to send a file to a users machine? > Try providing a link to a file :) > > Scott > > > -----Original Message----- > > From: R. BIGGS [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, March 07, 2002 1:34 PM > > To: [EMAIL PROTECTED] > > Subject: Downloading files locally > > > > Greetings, > > > > I know Struts provides the capability to upload files through the browser > > but does it posses this capability for downloading files? If Struts does > > not provide this option does anyone know of any other way to achieve this? > > > > TIA > > > > Biggs > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>