myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject cvs commit: incubator-myfaces/webapps/simple/WEB-INF web.xml
Date Thu, 24 Mar 2005 10:45:34 GMT
matzew      2005/03/24 02:45:34

  Modified:    webapps/simple/WEB-INF web.xml
  Log:
  simple web app changes (SourceServlet)
  
  Revision  Changes    Path
  1.2       +7 -11     incubator-myfaces/webapps/simple/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/webapps/simple/WEB-INF/web.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- web.xml	19 Mar 2005 13:13:38 -0000	1.1
  +++ web.xml	24 Mar 2005 10:45:34 -0000	1.2
  @@ -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>
  
  
  

Mime
View raw message