Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

Eclipse WTP and Tomcat question

Thread view: 
deepstar@gmail.com - 22 Oct 2006 16:40 GMT
Hey all

Does anyone know how I can set a webapp's path to / instead of using
/webappname ?
I am running a webapp which before was Resin based so all the URL's are
mapped as /localhost:8080/index.jsp etc... now Tomcat wants to sort
everything neatly under localhost:8080/webappname/index.jsp - but I
need to remove the webapp name in the url.

I tried doing this by changing <Context docBase="webappname"
path="/webappname"> to <Context docBase="webappname" path="/"> in
server.xml but Tomcat keeps changing it back!

Thanks!
Tarkin - 23 Oct 2006 01:25 GMT
> Hey all
>
[quoted text clipped - 10 lines]
>
> Thanks!

YMMV, but, FWIW-
backup the old ${CATALINA_HOME}/webapps/ROOT directory,
then install your webapp there.

HTH,
      Tarkin


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.