I am trying to access the
servlet init parameter from with a
JSP.
I have the following in my DD
<servet>
<servlet-name>NT</servlet-name>
<jsp-file>/NameTest.jsp</jsp-file>
<init-param>
<param-name>email</param-name>
<param-value>
abc@abc.com</param-value>
</init-param>
</servet>
In the JSP page I want to get the init parameter
<html>
<body>
Email is : <%= getServletConfig().getInitParameter("email") %>
</body>
</html>
But this gives me null