I am trying to stream data from a client app to a Servlet and I am getting
nowhere fast.  I have searched through various archives and either no one is
dealing with such large files or no one else is having a problem.  I need to
send arbitrarily large files to the server.  I create my HTTPUrlConnection
object, get an output stream and start sending bytes.  The servlet opens an
input stream from the req object and starts reading them.  At least, that is how
I thought it would work.  It seams that the client is buffering the data until a
close is issued on the stream.  It manages to get to 32meg of data before
barffing with an out of memory exception.  Debug statements in the servlet
indicate that the servlet is never being called.  Could someone please point me
in the right direction.

P.S. I also need to stream arbitrarily large data files from the servlet to the
client app as well.

Thanks,

Scott Herter
Advisory Software Developer
Pitney Bowes Inc.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to