tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mala Ramakrishnan <m...@speedtrak.com>
Subject SnoopServlet - passing params through web.xml
Date Tue, 21 Nov 2000 07:10:18 GMT
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


Mime
View raw message