On Thu, 3 Oct 2002, Fawaz Ahmad wrote: > that didn't work either. > > I just read something on some archive that web.xml isn't supported > in the new versions of tomcat. does anyone know if that is tru?
Where did you read that? The web.xml is part of the servlet spec, and given that Tomcat is the reference implementation of the servlet spec, I highly doubt that it's not going to support it. > On Thu, 3 Oct 2002, Duane Morse wrote: > > > Isn't <servlet-class> supposed to be after all of the <init-param> nodes for > > a servlet? > > > > Duane Morse, Eldorado Computing Inc., Phoenix, Arizona > > > > > > -----Original Message----- > > From: Fawaz Ahmad [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, October 03, 2002 11:22 AM > > To: [EMAIL PROTECTED] > > Subject: web.xml file > > > > > > 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 > > > > ___________________________________________________________________________ > > 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 > > > > > > ___________________________________________________________________________ > 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 > Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ 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