I am getting error on the Tomcat console "info : missing application web.xml...." for the webapplication named demoservlet I have created, while starting the server. And while running this webapp,I am getting error "demoservlet/as not found" ('/as' is the url-pattern for the servlet in the web app).
Check following 1.web.xml should be inside WEB-INF folder Example-: tomcat/webapps/mywebapp/WEB-INF 2. For each tag opening tag there should be closing tag Example <web-apps...>opening tag </web-apps> closing tag 3. For servlet mapping use following tags [code] <we-app...> <servlet> <servlet-name>myservlet</servlet-name> <servlet-class>pack.com.myservlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>myservlet</servlet-name> <url-pattern>/as.do</url-pattern> </servlet-mapping> </web-app>