Re: Downloading files locally
I keep the file at webapps\project\download.xls level and forward it to this location. Download is automatic except for .txt file. Question is :- there is no security - anybody can download it. From: R. BIGGS [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Downloading files locally Date: Wed, 6 Mar 2002 22:04:25 -0500 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 _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Downloading files locally
Security is not an issue for this application will only be used internally by our users. - Original Message - From: SUPRIYA MISRA [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 07, 2002 7:26 AM Subject: Re: Downloading files locally I keep the file at webapps\project\download.xls level and forward it to this location. Download is automatic except for .txt file. Question is :- there is no security - anybody can download it. From: R. BIGGS [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Downloading files locally Date: Wed, 6 Mar 2002 22:04:25 -0500 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 _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- 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]
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]
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]
RE: Downloading files locally
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]