I have installed Tomcat, deployed my FirstWebApplication (J2EE Application) and configured this to /www.myWebApp1Site.com in server.xml. Everything works fine as expected.
I tried deploying SecondWebApplication (J2EE Application) and configured this to /www.myWebApp2Site.com in server.xml.
The problem I am facing now is, whenever I hit /www.myWebApp2Site.com, I get below content displayed on browser
Index of /
cgi-bin/
mySecondWebApp.zip
mySecondWebApp/
Please note that here, mySecondWebApp/ is the context for /www.myWebApp2Site.com which I have configured properly in server.xml
Now, when I click mySecondWebApp/ the url is redirected to /www.myWebApp2Site.com/mySecondWebApp/index.jsp and the content of index.jsp is displayed as plain text on browser.
Please let me know if I am missing something here any configuration setup or any specific deployment approach to be followed?
I reiterate, /www.myWebAp1Site.com is still working fine without any issues
Any help or pointers would be appreciated. Thanks in advance!!
I tried deploying SecondWebApplication (J2EE Application) and configured this to /www.myWebApp2Site.com in server.xml.
The problem I am facing now is, whenever I hit /www.myWebApp2Site.com, I get below content displayed on browser
Index of /
cgi-bin/
mySecondWebApp.zip
mySecondWebApp/
Please note that here, mySecondWebApp/ is the context for /www.myWebApp2Site.com which I have configured properly in server.xml
Now, when I click mySecondWebApp/ the url is redirected to /www.myWebApp2Site.com/mySecondWebApp/index.jsp and the content of index.jsp is displayed as plain text on browser.
Please let me know if I am missing something here any configuration setup or any specific deployment approach to be followed?
I reiterate, /www.myWebAp1Site.com is still working fine without any issues
Any help or pointers would be appreciated. Thanks in advance!!