Web tier: servlets, JSP, Web frameworks: JSP and SingleThreadedModel
- Posted by: Srinivas Janakiraman
- Posted on: February 14 2001 15:37 EST
I want to write a thread safe code using JSP.
Can anyone tell me how to implement SingleThreadedModel in JSP?
I'm quoting directly from a book:
"The isThreadSafe attribute is used to indicate whether your JSP page, once it is compiled into a servlet, is capable of responding to multiple simultaneous requests. If not, this attribute should be set to false, as in the following:
<%@ page isThreadSafe="false" %>
Thank you very much Gordon Reynolds