Re: struts & PDF

2010-04-15 Thread Chris Mawata
he result config in the struts.xml file, albeit it the same for each result. Date: Wed, 14 Apr 2010 09:57:54 +0800 From: haoniu...@gmail.com To: user@struts.apache.org Subject: Re: struts & PDF You can't. One alternative is to save the file in another directory and redirect to it. fea jabi w

RE: struts & PDF

2010-04-14 Thread adam pinder
can't you specify a filename in the result config in the struts.xml file, albeit it the same for each result. > Date: Wed, 14 Apr 2010 09:57:54 +0800 > From: haoniu...@gmail.com > To: user@struts.apache.org > Subject: Re: struts &a

Re: struts & PDF

2010-04-13 Thread Kun Niu
You can't. One alternative is to save the file in another directory and redirect to it. fea jabi wrote: On click of a button I open a window and generating PDF in it as "inline" within that browser window. It works fine. I did set the http response header for the response with the file nam

struts & PDF

2010-04-13 Thread fea jabi
On click of a button I open a window and generating PDF in it as "inline" within that browser window. It works fine. I did set the http response header for the response with the file name. So, I am seeing the right PDF name in the open/save dialog of PDF. But when I click on the save bu

RE: file upload struts - pdf corrupted

2005-05-21 Thread meyawn
Harper Sent: Saturday, May 21, 2005 11:26 PM To: user@struts.apache.org Subject: Re: file upload struts - pdf corrupted Ugh, I found the same bug in the multipart parse we were using in my last job. The problem was that readLine() removed the end-of-line characters and they were added back

Re: file upload struts - pdf corrupted

2005-05-21 Thread Laurie Harper
so in BufferedMultipartInputStream.readLine()...wont bore you with details, but a cheap fix would be to do MultipartIterator.MAX_READ_SIZE to something more than 4092. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 7:15 PM To: Struts Users Mailing List Subject: Re: file upload s

RE: file upload struts - pdf corrupted

2005-05-21 Thread meyawn
[mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 7:15 PM To: Struts Users Mailing List Subject: Re: file upload struts - pdf corrupted On 20/05/05 10:33 Nandan wrote: > Hello, > I am using struts 1.0.2 to upload files. However sometimes a PDF file gets corrupted after a file upload.

Re: file upload struts - pdf corrupted

2005-05-21 Thread Adam Hardy
On 20/05/05 10:33 Nandan wrote: Hello, I am using struts 1.0.2 to upload files. However sometimes a PDF file gets corrupted after a file upload. I see that random characters are replaced a hex 0A. Is this is a known bug? Please let me know GP Try checking bugzilla for commons-fileupload, or a

file upload struts - pdf corrupted

2005-05-20 Thread Nandan
Hello, I am using struts 1.0.2 to upload files. However sometimes a PDF file gets corrupted after a file upload. I see that random characters are replaced a hex 0A. Is this is a known bug? Please let me know GP