tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kilbride" <>
Subject Re: getInputStream
Date Wed, 18 Apr 2001 18:43:57 GMT
Hi Georges,

There is a very easy to use class for doing file uploads available from
Jason Hunter, who wrote the original oreilly book on servlets, at his

Look for the com.oreilly.servlet package. I think it will greatly simplify
what you are trying to do. There's a good deal of documentation available on
the site.


----- Original Message -----
From: "Georges Boutros" <>
To: "Tomcat (E-mail)" <>
Sent: Wednesday, April 18, 2001 8:39 AM
Subject: getInputStream

> hi,
> I'm trying to submit a file to a servlet.
> I'm wanna use the request.getInputStream() to get the data of the file
> and          request.getContentType() to get the content type
> I'd like to know if it's possible to get the pure content of the file
> without any headers of the multipart/form-data
> thanks
> Georges

View raw message