RE: Writing a text file back to browser from a servlet

2006-10-18 Thread Tim Lucia
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

Re: Writing a text file back to browser from a servlet

2006-10-16 Thread David Kerber
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

Re: Writing a text file back to browser from a servlet

2006-10-14 Thread David Kerber
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

RE: Writing a text file back to browser from a servlet

2006-10-14 Thread Tim Lucia
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

Writing a text file back to browser from a servlet

2006-10-13 Thread David Kerber
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