Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

How to extract Context-params from web.xml into POJOs?



I have information regarding the DB connection params stored in the web.xml file. I am connecting to the DB from a POJO (used as the DAO). Is there a way to extract the context-params from the web.xml file in the POJO?