Reputation: 13510
There is myProject.war
So, in order to run it on local Tomcat I should use following URL:
http://localhost:8099/myProject/index.html
The same problem is for my remote site- I should add name of folder,such as:
http://mySiteURL/myProject/index.html
web.xml content:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.xhtml</welcome-file>
</welcome-file-list>
how to do,that my site index page was accessible just by URL:
http://mySiteURL/
thank you
Upvotes: 0
Views: 527