Hi, I've installed tomcat 3.3.1 and j2sdk1.4 on windows 98 machine. I have an application that includes following web.xml file. Tomcat is running, but before the running, some error lines display on DOS console, but tomcat is running correctly. This is the error lines;
.... 2002-09-10 09:30:37 - Ctx(/VT) : web.xml : Error org.xml.sax.SAXParseException: Element type "session-timeout" is not declared. 2002-09-10 09:30:37 - Ctx(/VT) : Line 4 /web-app/ 2002-09-10 09:30:37 - Ctx(/VT) : web.xml : Error org.xml.sax.SAXParseException: Element type "servlet" is not declared. 2002-09-10 09:30:37 - Ctx(/VT) : Line 6 /web-app/ 2002-09-10 09:30:37 - Ctx(/VT) : web.xml : Error org.xml.sax.SAXParseException: Element type "servlet-name" is not declared. .... 2002-09-10 09:30:37 - Http10Interceptor: Starting on 8080 2002-09-10 09:30:37 - Ajp12Interceptor: Starting on 8007 2002-09-10 09:30:37 - Ajp13Interceptor: Starting on 8009 EmbededTomcat: Startup time 600 This is my web.xml file; <web-app> <display-name>Database App</display-name> <session-timeout>30</session-timeout> <servlet> <servlet-name>VT</servlet-name> <servlet-class>VTServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>VT</servlet-name> <url-pattern>VTServlet</url-pattern> </servlet-mapping> </web-app> What is the problem? How can I eliminate this error line?