Hi,

I wanted to learn how to pass init parameters through web.xml, so I
uncommented the following from
jakarta-tomcat-3.1/webapps/examples/WEB-INF/web.xml:
<init-param>
    <param-name>foo</param-name>
   <param-value>bar</param-value>
</init-param>

Yet, when I call SnoopServlet on my browser as follows:
http://www.blahblah.com:8080/examples/servlet/SnoopServlet

I get empty fields in Servlet init parameters.

I tried the same with rewriting my own SnoopServlet and yet get null in
this field. Why would that be?

Mala

Reply via email to