webwork/src/main/webwork/action/factory SessionMap.java,1.9,1.10

[email protected] Sun, 28 Dec 2003 16:25:34 -0800
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/webwork/src/main/webwork/action/factory
In directory sc8-pr-cvs1:/tmp/cvs-serv6667/src/main/webwork/action/factory

Modified Files:
	SessionMap.java 
Log Message:
Fix for WW-428

Index: SessionMap.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/action/factory/SessionMap.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- SessionMap.java	1 Aug 2003 20:47:57 -0000	1.9
+++ SessionMap.java	29 Dec 2003 00:25:31 -0000	1.10
@@ -80,8 +80,9 @@
    {
        synchronized (session) {
            entries = null;
+           Object originalValue = session.getAttribute(key.toString());
            session.setAttribute(key.toString(), value);
-           return get(key);
+           return originalValue;
        }
    }
 




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click