When Using Tomcat 3.1 with Apache, how do you set up your context and web server index so that a .jsp file is set as the index file?

Serge Knystautas

In Apache, first map the desired jsp filename to the directory index. For example:

In srm.conf [or httpd.conf]:

DirectoryIndex index.jsp

Then in your webapp's web.xml or in your server's web.xml, look at the bottom for the <welcome-file-list> tag. You can add <welcome-file> tags to this tag, such as:

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact