eXtreme Development

Java - pegar context-param

We can get the above “AdministratorEmail” context-param value with the following java code.
String email= getServletContext().getInitParameter("AdministratorEmail");

Reference

http://www.mkyong.com/web-development/how-to-get-context-param-value-in-java/



SourceForge BootStrap