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>