| By Date: | <-- --> |
| By Thread: | <-- --> |
Christopher Schultz wrote:
Not really. If the question is "how do I retrieve the stuff I put in servletcontext?", the answer is getServletContext().getAttribute( attributeName ).Ryan,
One more question: What is the best method for retrieving the values?
You only have one option: ServletContext.getInitParameter
There are, however, some tools that can help you load data that is not String-based. Jakarta commons beanutils package (specifically the 'converters' portion) can help to your string-to-whatever conversions.
Hope that helps,
-chris
--David
--------------------------------------------------------------------- To start a new topic, e-mail: users (at) tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org For additional commands, e-mail: users-help (at) tomcat.apache.org