Hi,
I am quite new to Tomcat and I have encountered problems in mapping servlets
to specific URLs. Basically, I want my servlets to be activated when invoked
through an URL that contains /servlets/* in addition to default /servlet/*.
I have added the following to my %TOMCAT_HOME%\conf\web.xml:
<web-app>
[...]
<servlet-mapping>
<servlet-name>
invoker
</servlet-name>
<url-pattern>
/servlets/*
</url-pattern>
</servlet-mapping>
[...]
</web-app>
This does not work. If I point to http://localhost/servlets/IsItWorking
instead of http://localhost/servlet/IsItWorking, Apache is not able to find
the appropriate page.
Any suggestions?
Regards,
Diego Castillo