Revision: 310
Author: tfenne
Date: 2006-05-10 17:15:15 -0700 (Wed, 10 May 2006)
ViewCVS: http://svn.sourceforge.net/stripes/?rev=310&view=rev
Log Message:
-----------
Changed two uses of ThreadLocal.remove() to ThreadLocal.set(null). Done because
these are basically the only major things not supported by Retroweaver in
Stripes, and having made this change Stripes can be successfully run under Java
1.4 with Retroweaver.
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherServlet.java
trunk/stripes/src/net/sourceforge/stripes/controller/StripesFilter.java
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherServlet.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherServlet.java
2006-05-10 23:22:36 UTC (rev 309)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/DispatcherServlet.java
2006-05-11 00:15:15 UTC (rev 310)
@@ -337,7 +337,7 @@
}
finally {
if (pageContext != null) {
- DispatcherServlet.pageContextStash.remove();
+ DispatcherServlet.pageContextStash.set(null);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/StripesFilter.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/StripesFilter.java
2006-05-10 23:22:36 UTC (rev 309)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/StripesFilter.java
2006-05-11 00:15:15 UTC (rev 310)
@@ -220,7 +220,7 @@
finally {
// Once the request is processed, take the Configuration back out
of thread local
flashOutbound(httpRequest);
- StripesFilter.configurationStash.remove();
+ StripesFilter.configurationStash.set(null);
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development