Hi,
In my web application, I get db username and password from the web.xml file under the servletcontext directory. In its web.xml file, several init-params are declared. Now, I want to distribute this application in war format but web.xml file will go into that archive file and cannot be changed after archived.
Is there any way that I can get this info from outside the .war file? If so, can you give an example how to get it within the sevlet?
Thank you.