Cleaner way to access the ServletContext object when it is needed
-----------------------------------------------------------------
Key: STS-185
URL: http://mc4j.org/jira/browse/STS-185
Project: Stripes
Type: Improvement
Components: ActionBean Dispatching
Reporter: Tim Fennell
Assigned to: Tim Fennell
Priority: Minor
Right now you can get it by a convoluted path:
StripesFilter.getConfiguration().getBootstrapPropertyResolver().getFilterConfig().getServletContext()
This feels really "back-door"ish. I'm not sure exactly where it should go, but
the most likely place right now would be:
Configuration.getServletContext()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
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