tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Luehe <Jan.Lu...@Sun.COM>
Subject Re: [Fwd: <%@page isThreadSafe="false" %> does not work]
Date Wed, 08 Dec 2004 19:51:37 GMT

> I compared two servlets' source code compiled from JSPs,
> at the beginning of  one jsp I add page directive:
> <%@page isThreadSafe="false" %>
> and  the other, <%@page isThreadSafe="true" %>.
> 
> But the two servlet are the same , I had thought the first
> servlet will implement interface SingleThreadModel, but it
> didn't. Could anyone give me a hint?

This must be a bug in Lomboz.

I verified this works as expected in Tomcat 5, i.e.,
specifying <%@page isThreadSafe="false" %> will
cause the generated servlet to implement
SingleThreadModel.

Jan


> BTW, jsp compiler (Lomboz) says SingleThreadModel
> is deprecated.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message