for ServletContext: ServletActionContext.getServletContext()
for env-entry: Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); envCtx.lookup("fileName.path");
Paul Knepper wrote:
I'm using WebWork2.
How do I configure and get initialization/environment parameters for an application? Is there a feature that acts like a ServletContext and env-entry?
Thanks, Paul
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork