<init-param>
<param-name>cachePath</param-name> <param-value>C:/temp/cachePath</param-value> <description>local cache</description> </init-param> Albert Pi
Corp IS System Delivery 516-803-3762 >>> [EMAIL PROTECTED] 10/03/02 02:22PM >>> Hello, Is there anything special you have to do to get a web.xml file to work? I can not get my servlet to read the init-param's of my web.xml file! My servlet is located in the folder tomcat/webapps/WebOE/WEB-INF/classes and the web.xml file which is in the WEB-INF folder has the following code: <web-app> <servlet> <servlet-name>WebOE</servlet-name> <servlet-class>WebOE</servlet-class> <init-param> <param-name>DBServer</param-name> <param-value>spacejam</param-value> </init-param> </servlet> </web-app> but when i try to read it from teh servlet using the getInitParameter function, it returns a null function. is there anything that i am overlooking? Thanks! fuz ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html |
- web.xml file Fawaz Ahmad
- Re: web.xml file Duane Morse
- Re: web.xml file Fawaz Ahmad
- Re: web.xml file Milt Epstein
- Re: web.xml file Fawaz Ahmad
- Re: web.xml file Richard Yee
- Re: web.xml file Fawaz Ahmad
- Re: web.xml file Milt Epstein
- Re: web.xml file Albert Pi
- Re: web.xml file Albert Pi
- DBPooling with Servlets Fawaz Ahmad
- Re: DBPooling with Servlets Kevin Jones