>>> you have to go out of your way to declare instance variables in a JSP (by putting
>>> them in a <%! //declaration block %>
John,
After I posted the question, I started browsing the generated _jsp file in earnest.
I had decided that <% ... %> stuff was safe since it gets up in its own m
-declarative scriptlets
and all static page content go into the service method of the JSP, so
they're threadsafe.
-john.
-Original Message-
From: Merrill Cornish [mailto:[EMAIL PROTECTED]
Sent: Monday, December 29, 2003 1:55 PM
To: [EMAIL PROTECTED]
Subject: Thread Safe JSP/Servle
I understand how to write thread-safe software in general, but I suddenly realized
that I don't understand what, if anything, Tomcat "shares" among different sessions
(i.e., different users accessing the same JSP application) and would therefore be
thread sensitive.
For example, in my servlets,