Re: Problem with POST to servlet: 16384 bytes maximum? SOLVED !

2008-08-12 Thread Michele Fuortes
Christopher, Johnny and Konstantin thanks a lot for your help. I implemented a while.. loop as Christopher and Konstantin suggested and now it's working like a charm (I also updated from Tomcat 4.x to 5.5 but that's another story). Thanks again, Michele -- Michele Fuortes, M.D.,

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-09 Thread Konstantin Kolinko
2008/8/7 Michele Fuortes [EMAIL PROTECTED]: Hi, I have a problem with POSTing an XML file to a servlet which writes the XML to disk. If the XML file is less than 16384 bytes all goes well. If it's bigger the first 16384 bytes are written correctly, the rest all all 00s. The lenght of the

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Warren Killian
Hi, If you can't get past this limitation, you might look into the Apache Commons file upload utility. It is an API specifically for allowing (large) file uploads to a server. It works great, has a simple API and some decent documentation as well. Hope this helps. On Thu, Aug 7, 2008 at 2:18

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Sam Wun
Hi, I am wondering how to fix the following attached error (mvn command run)? I tried to follow the instruction shown in the following website, but got error. http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html === attached mvn command run === Maven

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Mark Thomas
Sam Wun wrote: Hi, I am wondering how to fix the following attached error (mvn command run)? I tried to follow the instruction shown in the following website, but got error. http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html 1. Don't hijack threads. 2. Read the FAQ,

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Michele Fuortes
Hi, thanks for the suggestions; [EMAIL PROTECTED] schrieb: I've had similar problems in various versions of tomcat. Currently the problem seems to exist in 6.0.16 but not in 6.0.14 nor 5.5.17. There was a bug filed, but I don't have the reference handy. I tried 5.5.26 and 5.5.17 and it

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michele, Michele Fuortes wrote: | I tried 5.5.26 and 5.5.17 and it changed (for the worse-;). | The file now gets messed up at 7620 bytes At least the application runs faster, now ;) Seriously, though, we use TC 5.5.23 in our demo environment and

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Johnny Kewl
- Original Message - From: Michele Fuortes [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, August 08, 2008 4:08 PM Subject: Re: Problem with POST to servlet: 16384 bytes maximum? Hi, thanks for the suggestions; [EMAIL PROTECTED] schrieb: I've had similar problems

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Johnny Kewl
- Original Message - From: Michele Fuortes [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, August 08, 2008 4:08 PM Subject: Re: Problem with POST to servlet: 16384 bytes maximum? Hi, thanks for the suggestions; [EMAIL PROTECTED] schrieb: I've had similar problems

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread André Warnier
Johnny Kewl wrote: - Original Message - From: Michele Fuortes [EMAIL PROTECTED] Hi. Johnny is sometimes a bit hard to read, but he may have a point there. If you are POSTing data with an HTML form, how exactly does the form tag look like ? (of if it is with some client program, what

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread André Warnier
Michele Fuortes wrote: Hi, I have a problem with POSTing an XML file to a servlet which writes the XML to disk. If the XML file is less than 16384 bytes all goes well. If it's bigger the first 16384 bytes are written correctly, the rest all all 00s. The lenght of the file is the correct one

Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread Michele Fuortes
Hi, I have a problem with POSTing an XML file to a servlet which writes the XML to disk. If the XML file is less than 16384 bytes all goes well. If it's bigger the first 16384 bytes are written correctly, the rest all all 00s. The lenght of the file is the correct one as in the

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread John . C . Cartwright
7, 2008 12:18 pm Subject: Problem with POST to servlet: 16384 bytes maximum? Hi, I have a problem with POSTing an XML file to a servlet which writes the XML to disk. If the XML file is less than 16384 bytes all goes well. If it's bigger the first 16384 bytes are written correctly

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread Rainer Jung
: Problem with POST to servlet: 16384 bytes maximum? Hi, I have a problem with POSTing an XML file to a servlet which writes the XML to disk. If the XML file is less than 16384 bytes all goes well. If it's bigger the first 16384 bytes are written correctly, the rest all all 00s. The lenght