tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Horvath" <>
Subject getinitParameter
Date Tue, 17 Jul 2001 07:43:35 GMT

Hi !
I have a web.xml file with this lines:
        The database driver's type. 

 No desc.
How can I acces the valami variable inside a servlet (in JSP works). I use getServletConfig.getInitParameter("valami")
and I always get null !!! I don't understand !!!
Or I have to use getServletContext.getInitParameter instead ?


View raw message