Tuesday, June 28, 2011

How to config a JSP file in web.xml?

Declare following in web.xml file.
You can get the value against the parameter hello using following in your jsp page.
<%= config.getInitParameter("hello");%>

If you could click on some of the google ads you see on the right side. It will help me to run this blog and motivates me ;)