Update of /cvsroot/struts-menu/navigator/web/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv11501/web/WEB-INF

Modified Files:
        web.xml 
Log Message:
cleaned up sample application and added servlet to view source of a JSP

Index: web.xml
===================================================================
RCS file: /cvsroot/struts-menu/navigator/web/WEB-INF/web.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** web.xml     31 Oct 2003 06:39:35 -0000      1.1
--- web.xml     31 Oct 2003 09:58:36 -0000      1.2
***************
*** 7,29 ****
  <web-app>
  
!   <!-- Action Servlet Configuration -->
!   <servlet>
!     <servlet-name>action</servlet-name>
!     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
!     <init-param>
!       <param-name>config</param-name>
!       <param-value>/WEB-INF/struts-config.xml</param-value>
!     </init-param>
!     <init-param>
!       <param-name>debug</param-name>
!       <param-value>3</param-value>
!     </init-param>
!     <init-param>
!       <param-name>detail</param-name>
!       <param-value>3</param-value>
!     </init-param>
!     <load-on-startup>2</load-on-startup>
!   </servlet>
  
    <!-- Action Servlet Mapping -->
    <servlet-mapping>
--- 7,40 ----
  <web-app>
  
!     <!-- Action Servlet Configuration -->
!       <servlet>
!               <servlet-name>action</servlet-name>
!               <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
!       <init-param>
!               <param-name>config</param-name>
!               <param-value>/WEB-INF/struts-config.xml</param-value>
!       </init-param>
!       <init-param>
!           <param-name>debug</param-name>
!           <param-value>3</param-value>
!       </init-param>
!       <init-param>
!           <param-name>detail</param-name>
!           <param-value>3</param-value>
!       </init-param>
!       <load-on-startup>2</load-on-startup>
!       </servlet>
  
+       <servlet>
+               <servlet-name>source</servlet-name>
+               <description>display source of jsp pages</description>
+               
<servlet-class>net.sf.navigator.example.DisplaySourceServlet</servlet-class>
+       </servlet>
+ 
+       <servlet-mapping>
+               <servlet-name>source</servlet-name>
+               <url-pattern>*.src</url-pattern>
+       </servlet-mapping>
+       
    <!-- Action Servlet Mapping -->
    <servlet-mapping>




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
struts-menu-devel mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-devel

Reply via email to