Tomcat Version: 7.0.35
Given this directory structure under CATALINA_HOME/webapps/ on my local machine:
REAL_SIMPLE_TEST
*
WebContent
**REAL_SIMPLE_TEST_HOME.jsp
**
styles
***Stylesheet.css
*
WEB_INF
** web.xml
How do I get REAL_SIMPLE_TEST_HOME.jsp served as the first page when in the browser I hit:
http://localhost:8080/REAL_SIMPLE_TEST/ ? Placing
<welcome-file-list>
<welcome-file>/WebContent/index.jsp</welcome-file>
</welcome-file-list>
in the web.xml is not working.
(The reason I am asking this question: Some years ago I built a web application hosted by Webappcabaret using basically this structure. The people at Webappcabaret tweaked something or other and got this to work. Now I have to move my application out of Webappcabaret into a new host. But when I get all the files into a .war file and put it in the webapps directory of the Tomcat7 on my local machine, the homepage no longer gets served as the first page. Also, Tomcat no longer recognizes the style sheet placed in the subdirectory. I am trying to get these issues resolved on my local machine before placing the web application in a new host.)