Hi all:

Here is the situation I am dealing with:

Servlet A stores a String object called myInfo as follow:

session.putValue("myInfo", myInfo);

This is only done once per session as it is done by init( ).

Servlet B retrieves the value of myInfo and initializes a local String
object like this:

String myInfo = (String)session.getValue("myInfo");

The value of that local object changes with the following:

myInfo = "some new value is now in effect";

Here is my question:

Is the new value of myInfo reflected for the session variable myInfo, or do
I need to execute session.putValue("myInfo", myInfo);?

Thanks!

Jean

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to