Hi.. I know that internally a JSP is represented as a servlet. My question is that when a servlet is generated for a JSp it is by default multiThreaded(again i think so...) Just as i can make my servlet implement SingleThreaded model can i specify it in my JSP to make the servlet generated internally implement Single Threaded model? if yes how? Thanks, Ganapathi.
chanoch wiggers
Author
Ranch Hand
Joined: May 24, 2001
Posts: 245
posted
0
Hi Ganapathi, if you want to denote that your jsp is not thread safe, add isThreadSafe="false" to the declaration at the top of you page: <%@ page language="java" import=etc isThreadSafe="false"% ...rest of declarration> if you do this, the server will queueu requests so that only one is answered at a time chanoch
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>