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