Hi,
I have
a few options for storing application level data, and need your opinions on
deciding on a strategy.
My
requirement is to load a couple of properties files in the application startup
and to be able to access them across all classes and JSPs in the web
application.
1.
Using the ServletContext of ActionServlet
2.
Using the pageContext of JSP (PageContext.APPLICATION_SCOPE)
3.
Using JSTL <c:set> tag (Does Struts provide a similar
tag?)
4. Any
other..
If I
use 2 or 3, will I able able to access a property in, say, the execute
method of an Action class? What's the best way to do
this?
Thanks,
Suresh
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.
***************************************************************************
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

