I created two servlets that run when I use their url template, which is defined in my web.xml file.
For example, to start the first one, enter the following in a browser:
http:
I want to find a way to run these servlets from a different root context, for example:
http:
When I try the above URL, I get the following error:
HTTP Status 404 - /SimpleServletProject/XmlServletPath type Status report message /SimpleServletProject/XmlServletPath description The requested resource is not available.
PS: I am using Tomcat 7.0.35.
source share