Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use ROOT index.html on port 80

Status
Not open for further replies.

hayden1

Programmer
Aug 31, 2007
1
GB
I have changed my port to 80 and therefore when I enter I get the Jakarta index page. However its always the index.jsp page that is displayed.

I want to put my own html pages in the root directory so that my index.html is displayed. However I cannot make Tomcat default to display the index.html.

I have edited the web.xml file so that index.jsp is no longer there and this results in a Error 404 message being displayed.

I basically want Tomcat to run as a HTTP server and servlet container. By placing my own html files in the ROOT directory and also utilising my servlets. However cannot even get the index.html to be displayed.

Can anyone help me please?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top