This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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