Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Does the "isThreadSafe" page directive work in Tomcat 5.0.18?

Josh Rehman

2004-02-22

Replies:

Hi,

I changed this directive to "false" and looked at the generated servlet.
I was expecting to see that it implements "SingleThreadModel" but there
was no change to the generated servlet code. Have I missed something?
Here is my JSP:

<%@(protected)" %>
<!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>Switch2 JSP</title>
</head>
<body bgcolor="#FFFFFF">

<%-- Interestingly, include occurs before translation. you can easily
get stack overflow by including self. :)
  request time include uses jsp:include page=""
--%>
<%@(protected)" %>
<%@(protected)" %>

</body>
</html>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.