Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing the default jsp page

 
David McCombs
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to change the default page when www.mywebsite.com is sent from a browser. The file I want it to point to is under TOMCAT HOME/webapps/welcome/index.jsp

In the server web.xml file under conf, I changed the <welcome-file> entry for jsp to /welcome/index.jsp and didn't work, and tried welcome/index.jsp and also failed. Is there another line I need to edit? Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change your app's name to ROOT and replace the current ROOT app (which shipped with Tomcat) with it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic