In my web.xml:
<servlet>
<servlet-name>HelloWorldServlet</servlet-name>
<servlet-class>murach.email.HelloWorldServlet</servlet-class>
<init-param>
<param-name>counter</param-name>
<param-value>1</param-value>
</init-param>
</servlet>
In my.jsp:
However, my output on the browser is :
Servlet config param using scriptlet: null
Serlvet name using scriplet :
jsp
(I don't know why the name is not helloWorldServlet.)
But the output from the HelloWorldServlet is:
the servlet context param is : 1
serlvet name: HelloWorldServlet
The config implicit object does not return the correct data from the servlet.
Thanks in advance.