You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sv...@apache.org on 2005/03/21 15:18:44 UTC
cvs commit: incubator-myfaces/conf web.xml
svieujot 2005/03/21 06:18:44
Modified: conf web.xml
Log:
Remove double mapping.
Revision Changes Path
1.31 +7 -11 incubator-myfaces/conf/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/incubator-myfaces/conf/web.xml,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- web.xml 19 Mar 2005 13:13:38 -0000 1.30
+++ web.xml 21 Mar 2005 14:18:44 -0000 1.31
@@ -201,6 +201,13 @@
<load-on-startup>1</load-on-startup>
</servlet>
+ <!-- source code servlet (will not work with JSF virtual path mapping) -->
+ <!-- this servlet is optional and for educational purposes only -->
+ <servlet>
+ <servlet-name>SourceCodeServlet</servlet-name>
+ <servlet-class>org.apache.myfaces.examples.servlet.SourceCodeServlet</servlet-class>
+ </servlet>
+
<!-- Faces Servlet Mapping -->
@@ -218,16 +225,6 @@
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
- <servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>*.jsf</url-pattern>
- </servlet-mapping>
-
- <!-- source code servlet (will not work with JSF virtual path mapping) -->
- <servlet>
- <servlet-name>SourceCodeServlet</servlet-name>
- <servlet-class>org.apache.myfaces.examples.servlet.SourceCodeServlet</servlet-class>
- </servlet>
<servlet-mapping>
<servlet-name>SourceCodeServlet</servlet-name>
@@ -242,5 +239,4 @@
<welcome-file>index.html</welcome-file>
</welcome-file-list>
-
</web-app>