Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2009, 01:00 AM
Member
 
Join Date: Apr 2009
Posts: 1
Rep Power: 0
mgazzo is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT +2. The time now is 07:01 AM.



VBulletin, Copyright 2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright 2006 - 2007, www.java-forums.org