Changing context root with Tomcat & JAX-RS (Jersey) in Eclipse
I am using Eclipse with Tomcat & JAX-RS to create a RESTful WebService. The only way I seem to be able to change the context root in Eclipse is by altering the project name since that seems to be the only way. Tried to modify the eclipse context root setting as well as setting up contexts in server.xml and various context.xml files in different Tomcat locations but without luck. I want to have an url like /mycontext/myresource but the only thing that works seems to be /myprojectname/myresource. Any help is appreciated.