[weld-commits] Weld SVN: r5015 - extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Nov 12 21:35:12 EST 2009


Author: dan.j.allen
Date: 2009-11-12 21:35:12 -0500 (Thu, 12 Nov 2009)
New Revision: 5015

Modified:
   extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
Log:
remove unnecessary context param


Modified: extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
===================================================================
--- extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml	2009-11-13 02:31:52 UTC (rev 5014)
+++ extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml	2009-11-13 02:35:12 UTC (rev 5015)
@@ -2,24 +2,20 @@
 <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
 	
-	<!-- Standard JSF 2.0 Configuration Paramters. -->
-	<context-param>
-		<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
-		<param-value>.xhtml</param-value>
-	</context-param>
+	<!-- Activate the JSF 2.0 servlet -->
 	<servlet>
 		<servlet-name>Faces Servlet</servlet-name>
 		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
 		<load-on-startup>1</load-on-startup>
 	</servlet>
 	
-	<!-- Tell the context which URLs to process as facelets.  -->
+	<!-- Tell the context which URLs to send through JSF -->
 	<servlet-mapping>
 		<servlet-name>Faces Servlet</servlet-name>
 		<url-pattern>*.jsf</url-pattern>
 	</servlet-mapping>
 	
-	<!-- This is an optional parameter, but it makes troubleshooting errors much easier.  -->
+	<!-- This is an optional parameter, but it makes troubleshooting errors much easier. -->
 	<!-- You may want to delete it before final deployment -->
 	<context-param>
 		<param-name>facelets.DEVELOPMENT</param-name>
@@ -27,7 +23,7 @@
 	</context-param>
 
 	<!-- Weld Jetty/Tomcat specific configuration parameters -->
-	<!-- Both the listener and resource-env-ref tags can be deleted in JEE6 containers.    -->
+	<!-- Both the listener and resource-env-ref tags can be deleted in JEE6 containers. -->
 	<listener>
 		<listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
 	</listener>
@@ -36,4 +32,4 @@
 		<resource-env-ref-name>BeanManager</resource-env-ref-name>
 		<resource-env-ref-type>javax.enterprise.inject.spi.BeanManager</resource-env-ref-type>
 	</resource-env-ref>
-</web-app>
\ No newline at end of file
+</web-app>



More information about the weld-commits mailing list