Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying a WAR file as root context

 
Michael J. Makunas
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should be fairly trivial, but for some reason I can't figure it out. How (in Tomcat 5.5) do I deploy foo.war so that it's URL is www.bar.com instead of www.bar.com/foo/ ?

Thanks in advance....
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way would be to rename it ROOT.war, delete the current ROOT directory, and then deploy it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic