Paul, I have the web.xml file in the WEB-INF directory..Is there anything problem with my java I am using j2sdk1.4.1_01.. seems to be when I give "javac" on the command line I am getting bad command.. "java" is giving list of commands.. am I missing something in J2sdk
-----Original Message----- From: paul niemandt [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 6:56 PM To: Tomcat Users List Subject: Re: web.xml problem Hi Srini: You most probably don't have the web.xml file in the correct directory. It needs to be under the WEB-INF directory of your web application. ie. $CATALINA_HOME/webapps/YourWebApp/WEB-INF/web.xml regards, Paul On Fri, 2003-04-04 at 00:47, Srinivasu Gandu wrote: > Hi, I am using tomcat4.1.18 and trying to run a web application.. I am > getting the error. > "Missing application web.xml, using defaults only" when I looked into the > server log file. > > Because of this I am unable to access my servlet (getting 404).. here is my > web.xml file > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app> > > <display-name>test</display-name> > > <servlet> > <servlet-name>TestServlet</servlet-name> > <servlet-class>TestServlet</servlet-class> > </servlet> > > > <servlet-mapping> > <servlet-name>TestServlet</servlet-name> > <url-pattern>/TestServlet</url-pattern> > </servlet-mapping> > > </web-app> > > > Would tell me what could be the wrong that I am doing..will appreciate. > > Thanks - Srini. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- paul niemandt <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
