tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Daanen" <...@oce.nl>
Subject RE: Uploading Files
Date Tue, 03 Oct 2000 06:05:12 GMT
perhaps you should raise the memory allocated for your virtual machine with:
java -Xmx100m to set your VM memory to 100Mb

greetings,

Leon

> -----Original Message-----
> From: Kwan, Kenneth Y [mailto:kenneth.y.kwan@cwhkt.com]
> Sent: Tuesday, October 03, 2000 3:49 AM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Uploading Files
>
>
> It seems it is communication problem between Apache and
> Tomcat (also in
> Linux) where Apache always wants to send all its data to
> Tomcat but Tomcat
> has already stopped receiving data for some reasons, e.g.
> file size too
> large exception, etc.
>
> I¡¦m using Oreilly¡¦s class to receive multipart form data
> and have modified
> the class a little bit such that say when it finds the file
> size too large,
> it will perform dummy read until all data are received before throwing
> exception. If anyone has better solution to this, please suggest.
>
> Kenneth Kwan
>
> 	-----Original Message-----
> 	From:	Shravan Shashikant [mailto:s0s7900@unix.tamu.edu]
> 	Sent:	Monday, October 02, 2000 12:27 PM
> 	To:	tomcat-user@jakarta.apache.org
> 	Subject:	Uploading Files
>
> 	Hi everybody,
> 	  I am using tomcat with Apache on Windows 2000.I was
> looking for a
> way to
> 	upload files onto the webserver using servlets.I found a package
> which
> 	used multi-part form data posting and processed it in a
> servlet to
> upload
> 	files.But sometimes I get an error "Premature end of
> header script".
> Any
> 	idea whats wrong and how it can be solved.Or is there
> is any other
> way to
> 	upload files..
> 	Thanks in advance,
> 	Shravan
>



Mime
View raw message