I have a web app called dev. I want to be able to set a default index.jsp file at the root of /dev, for example:
C:\jboss403\server\default\deploy\dev\index.jsp
If I type this into my browser:
http://localhost:8080/dev/
I expect to view http://localhost:8080/dev/index.jsp. However, the browser loads the default Tomcat index file, instead. Part of this default page has text that reads:
As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:
$CATALINA_HOME/webapps/ROOT/index.jsp
Add the following entry in your web.xml
<!-- The Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>