g File->Save
As gives unpredictable results.
Tim
-Original Message-
From: David Kerber [mailto:[EMAIL PROTECTED]
Sent: Monday, October 16, 2006 8:23 PM
To: Tomcat Users List
Subject: Re: Writing a text file back to browser from a servlet
This worked, though not exactly how I expecte
l...
Tim
-Original Message-
From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Friday,
October 13, 2006 10:13 PM
To: Tomcat Users List
Subject: Writing a text file back to browser from a servlet
I'm trying to do something that seems like it should be very easy,
but can't
omcat Users List
Subject: Writing a text file back to browser from a servlet
I'm trying to do something that seems like it should be very easy, but
can't get it to work: sending a .txt file back to the user's browser so
they can save it to their local hard disk. I am having
ent-disposition", "attachment; filename=.txt");
charset is optional...
Tim
-Original Message-
From: David Kerber [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 10:13 PM
To: Tomcat Users List
Subject: Writing a text file back to browser from a servlet
I
I'm trying to do something that seems like it should be very easy, but
can't get it to work: sending a .txt file back to the user's browser so
they can save it to their local hard disk. I am having no trouble
creating the file and writing it to a temporary place on the server, but
can't figur