You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Georges Boutros <GB...@interstarinc.com> on 2001/04/18 17:39:59 UTC
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
Re: getInputStream
Posted by Sam Newman <sa...@stamplets.com>.
I'm pretty sure that if you use this package in a commerical product, you
have to make sure that each developer using the package has a copy of the
latest O'Reilly book. Check the license carefully.
sam
----- Original Message -----
From: "Jeff Kilbride" <je...@kilbride.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, April 18, 2001 7:43 PM
Subject: Re: getInputStream
> 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
>
Re: getInputStream
Posted by Jeff Kilbride <je...@kilbride.com>.
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" <GB...@interstarinc.com>
To: "Tomcat (E-mail)" <to...@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
>