Emma,
If you are declaring variables within the jsp you need to be careful how you are doing it. If for example you declare a variable within the code blocks <%! String s = "whatever"; %>
This variable has global application scope for that jsp. Any changes in other methods would have to be synchronized or you are not thread safe.
However, if you declare a variable within a jsp within code blocks
<% String s = "whatever"; %> then you need not worry about synchronization as this variable is declared within the service method of the jsp ( doGet, doPost) and each individual call to the jsp creates a new thread for the service method.
Craig
Chat with friends online, try MSN Messenger: Click Here
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm
