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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com