Using getInitParameter in Java application with JSP pages
Posted on 2007-11-22
I have a web application, which has previously used solely JSP pages and accessed properties in the web.xml file using:
I have since added some Java classes to this application to do various bits and pieces of work, and I am not sure how to access the same information from the web.xml file?
Can someone please advise (or provide a code snippet) as to how to access this information from a java class?