How do I make Tomcat 3.1 invoke my servlets via the url <host>/servlets/<class> instead of <host>/servlet/<class> that it's doing now?
Created May 4, 2012
Matthew Dornquast
Change the url-pattern of the default servlet invoker located in the "deployment descriptor" for your web application. This file us usually located in <context>/WEB-INF/web.xml file. Replace:
/servlet/*
with:
/servets/*
Also note that in Tomcat 3.1, web applications begin with the default "deployment descriptor" located in <tomcat home dir>/conf/web.xml. You can change the "default" for all web applications there.