tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kilbride" <j...@kilbride.com>
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
website:

http://www.servlets.com/

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.

Thanks,
--jeff

----- Original Message -----
From: "Georges Boutros" <GBoutros@interstarinc.com>
To: "Tomcat (E-mail)" <tomcat-user@jakarta.apache.org>
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
>


Mime
View raw message