Dis-regard this.
"Robert L Sowders" <[EMAIL PROTECTED]> 10/21/2002 05:55 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject: Re: * * * Tomcat 4.1.12 & Servlets * * * Looks like you left off the / that should have been in front of ExampleServlet, or was that a typo in your email? rls Romualdo Rubens de Freitas <[EMAIL PROTECTED]> 10/21/2002 01:02 PM Please respond to "Tomcat Users List" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: * * * Tomcat 4.1.12 & Servlets * * * Hi All, In web.xml file located at webapps\ROOT\WEB-INF I put the following: <servlet> <servlet-name>Example</servlet-name> <servlet-class>ExampleServlet</servlet-class> </servlet> After that, I tried to run my HTML file that calls the servlet and I got: (It doesn't matter if I use "Example" or "ExampleServlet") * * * * * HTTP Status 404 - /servlet/Example ------------------------------------------------------------------------ type Status report message /servlet/Example description The requested resource (/servlet/Example) is not available. * * * * * If I change web.xml file to add the following: <servlet-mapping> <servlet-name>Example</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> my servlet (ExampleServlet.clas) is called without my HTML file be executed. Any help would be great. Thanks in advance. Best regards, Romualdo Rubens de Freitas. -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>