|
Mark,
You should download the JSP 1.0 specification
available at http://java.sun.com/products/jsp/index.html
At this point, it is the authoritative guide to
JSP and is very well written. The technology is too new so
I haven't found any great books on it. If there
are some, I'd like to know.
The spec will answer your questions dealing with threads in
greater detail. By default, the JSP files
are assumed to be thread safe and are
compiled into multi-threaded servlets, but you can set
directivies using the JSP page directive
to define a page as not being thread safe.
Your instance below shows an automatic variable which is
thread safe in this case.
What also will help is to create a JSP page and then access
it. It will create a Java source
file and then you can examine the source code.
-Shawn
|
- JSP-Servlet Threading issues Mark Cot�
- Re: JSP-Servlet Threading issues Shawn Lohstroh
- Shawn Lohstroh
