I am trying to implement the
servlet initialization in
JSP, example given in HFSJ book, page no. 308.
--------------------------------------------------
in DD:
<servlet>
<servlet-name>Ex1</servlet-name>
<jsp-file>/Ex1.jsp</jsp-file>
<init-param>
<param-name>email</param-name>
<param-value>
sreedharp@ins.com</param-value>
</init-param>
</servlet>
in JSP :
<%
String email = config.getInitParameter("email");
%>
<%="email ---> " + email %>
-------------------------------------------
But this not seem to work. The output is null.
Any reasons for this.