Results 1 to 1 of 1
  1. #1
    mgazzo is offline Member
    Join Date
    Apr 2009
    Rep Power

    Default 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.
    Last edited by mgazzo; 04-22-2009 at 01:03 AM.

Similar Threads

  1. Modify context root in application.xml
    By Saurabh321 in forum New To Java
    Replies: 1
    Last Post: 04-17-2009, 12:12 PM
  2. How to remove Eclipse context menu items?
    By Neil_ in forum Eclipse
    Replies: 0
    Last Post: 04-06-2009, 06:09 AM
  3. Eclipse and Tomcat
    By kendan in forum Eclipse
    Replies: 4
    Last Post: 04-03-2009, 02:59 PM
  4. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 11:33 AM
  5. Context Root change
    By rvasu_77 in forum Advanced Java
    Replies: 2
    Last Post: 07-12-2007, 11:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts