You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sam Lee <gk...@163.com> on 2005/12/20 14:06:09 UTC
How does tomcat parse multipart requests?
Dear Guys,
I want to know how tomcat parse multipart requests? Or tomcat does not
parse multipart requests at all?
I try to find the answer from tomcat 5.5 source,but failed because
don't know where to begin.
Thanks,
Sam
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How does tomcat parse multipart requests?
Posted by Jon Wingfield <jo...@mkodo.com>.
It doesn't. But there are 3rd party apis to help. Two popular ones are:
http://servlets.com/cos/ (read the, not very onerous, license before
commercial use)
http://jakarta.apache.org/commons/fileupload/
HTH,
Jon
Sam Lee wrote:
> Dear Guys,
>
> I want to know how tomcat parse multipart requests? Or tomcat does not
> parse multipart requests at all?
>
> I try to find the answer from tomcat 5.5 source,but failed because
> don't know where to begin.
>
> Thanks,
>
> Sam
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How does tomcat parse multipart requests?
Posted by marju jalloh <ja...@yahoo.com>.
The servlet container create a single instance when tomcat is started and listen for request.Each request spawn a new thread that execute the service methods (doGet,doPost etc).So miltiple request will spawn multiple threads. You can understand it more when you are familiar with Threads.
That is why when you are writing your servlet make sure that shared variable are synchronized
Hope it helps
Marju Jalloh
Sam Lee <gk...@163.com> wrote: Dear Guys,
I want to know how tomcat parse multipart requests? Or tomcat does not
parse multipart requests at all?
I try to find the answer from tomcat 5.5 source,but failed because
don't know where to begin.
Thanks,
Sam
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com