By default servlets generated from JSP pages are thread-safe. I guess that this 
means that the servlets generated implement the SingleThreadModel.

    My question is if requests to the same page will be serialized thus decreasing 
site performance. And what if I don't compile JSP pages with thread-safe enabled? For 
example as far as I know beans and variables declared in JSP pages are within the 
scope of jsp_service method thus making them local variables not affected by a call 
from another thread. So why not use not thread-safe pages? Are beans in session scope 
affected?

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to