You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Daryl Lee <dl...@altaregos.com> on 2002/12/16 18:01:26 UTC
examples/servlet path broken?
I've "upgraded" to Tomcat 4.1.12, and the servlet examples don't work any
more. The servlet examples use a path like
".../examples/servlet/HelloWorldExample" to access individual servlets.
The only way I could make HelloWorldExample work was to give it the full
monty in examples/WEB-INF/web.xml by defining it as a servlet and
providing a mapping, a la:
<servlet>
<servlet-name>
HelloWorldExample
</servlet-name>
<servlet-class>
HelloWorldExample
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
HelloWorldExample
</servlet-name>
<url-pattern>
/HelloWorldExample
</url-pattern>
</servlet-mapping>
Is there a more generic solution that would re-enable the usage the
examples expect?
--
Daryl Lee
Marietta, GA
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>