Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

tomcat - eliminate /index.jsp in browser URL display?

843835Feb 6 2003 — edited Nov 3 2005
In my (and most) Apache configurations for static *.html files, the index.html file of a directory (or site index page) is not displayed in the browser.

http://www.mysite.com/
http://www.mysite.com/dir/

In the default configuration of Tomcat, the trailing index.jsp is always displayed.

http://www.mytomcatsite/index.jsp
http://www.mytomcatsite/dir/index.jsp

Is there any way to suppress the display of index.jsp in Tomcat (4.1)? If so, are there any ramifications?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2005
Added on Feb 6 2003
10 comments
781 views