tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yin Tse <>
Subject Servlet init parameters
Date Tue, 12 Dec 2000 22:32:19 GMT
Hi all,
I'm having some problems reading my init parameters.
I define the init parameters in the web.xml file like this :



	    <param-name> password</param-name>


	    <param-name> connectionUrl</param-name>






These are defined in the LoginServlet, but the parameters are read in a
parent servlet called DBConnectionServlet,
but all the params are coming null except the last one which is servlet_url
here. Thanks for the feedback.

View raw message