• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Carey Brown
  • Frits Walraven

Changing the default jsp page

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
Posts: 13411
Firefox Browser VI Editor Redhat
  • 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.
Not so fast naughty spawn! I want you to know about
ScroogeXHTML 8.7 - RTF to HTML5 and XHTML converter
    Bookmark Topic Watch Topic
  • New Topic