[weld-commits] Weld SVN: r6696 - archetypes/javaee6-webapp/trunk/src/main/webapp/WEB-INF.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Sat Jul 17 13:00:56 EDT 2010


Author: dan.j.allen
Date: 2010-07-17 13:00:56 -0400 (Sat, 17 Jul 2010)
New Revision: 6696

Modified:
   archetypes/javaee6-webapp/trunk/src/main/webapp/WEB-INF/web.xml
Log:
update comment


Modified: archetypes/javaee6-webapp/trunk/src/main/webapp/WEB-INF/web.xml
===================================================================
--- archetypes/javaee6-webapp/trunk/src/main/webapp/WEB-INF/web.xml	2010-07-17 16:58:10 UTC (rev 6695)
+++ archetypes/javaee6-webapp/trunk/src/main/webapp/WEB-INF/web.xml	2010-07-17 17:00:56 UTC (rev 6696)
@@ -5,7 +5,7 @@
       http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
 
    <!-- This is an optional parameter, but it makes troubleshooting errors much easier -->
-   <!-- You should delete it before final deployment -->
+   <!-- You should delete it before final deployment! -->
    <context-param>
       <param-name>javax.faces.PROJECT_STAGE</param-name>
       <param-value>Development</param-value>
@@ -24,8 +24,10 @@
       <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
       
-   <!-- This section is option. -->
+   <!-- This section is optional. We are allowing index.jsf to handle the root URL (i.e., /). -->
    <welcome-file-list>
+      <welcome-file>index.jsp</welcome-file>
+      <welcome-file>index.html</welcome-file>
       <welcome-file>index.jsf</welcome-file>
    </welcome-file-list>
 </web-app>



More information about the weld-commits mailing list