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]