You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jan Luehe <Ja...@Sun.COM> on 2004/12/08 20:51:37 UTC
Re: [Fwd: <%@page isThreadSafe="false" %> does not work]
> 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