I use Jason Hunter's MultipartRequest class to handle file uploads. (http://www.servlets.com/) If I set the maximum size to 100kB, an upload up to 500kB is correctly detected, and the corresponding IOException ("content length exceeds limit...") is thrown. But if a file which is much larger (some Mb's) is uploaded, I get a servlet exception. The error_log says "Premature end of script headers". I made some experiments, which showed that the maximum file size with correct "content length exceeds limit..." detection varies from one to the other try. I think there is a relation to the amount of available memory. (I use apache 1.3.6, Jserv 1.0b5, JDK 1.2pre-v2, on Linux.) Many thanks in advance for any help, hint, or suggestion. //hans ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] READ THE FAQ!!!! <http://java.apache.org/faq/> Archives and Other: <http://java.apache.org/main/mail.html/> Problems?: [EMAIL PROTECTED]
