unico       2004/01/16 05:53:51

  Modified:    src/blocks/jsp/conf jsp.xconf
  Log:
  add dispatcher implementation example
  
  Revision  Changes    Path
  1.2       +11 -2     cocoon-2.1/src/blocks/jsp/conf/jsp.xconf
  
  Index: jsp.xconf
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/jsp/conf/jsp.xconf,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jsp.xconf 9 Mar 2003 00:04:10 -0000       1.1
  +++ jsp.xconf 16 Jan 2004 13:53:51 -0000      1.2
  @@ -3,7 +3,7 @@
   <xconf xpath="/cocoon" unless="jsp-engine">
      
     <!-- JSP Engine:
  -    The JspGenerator selects a JSPEngine component. The JSPEngine component
  +    The JSPGenerator and JSPReader select a JSPEngine component. The 
JSPEngine component
       launches a JSP servlet engine of your servlet container, feeds the
       HttpRequest into the JSP servlet engine, and pipes the jsp response as
       SAX events into Cocoon2. The JSP page is specified by the HttpRequest.
  @@ -14,7 +14,16 @@
     -->
     <jsp-engine logger="core.jsp-engine">
       <parameter name="servlet-class" 
value="org.apache.jasper.servlet.JspServlet"/>
  +  </jsp-engine>
  +  
  +  <!--
  +    Alternative implementation that uses a RequestDispatcher for running 
named Servlets.
  +  -->
  +  <!--
  +  <jsp-engine logger="core.jsp-engine" 
class="org.apache.cocoon.components.jsp.JSPEngineImplNamedDispatcherInclude">
       <parameter name="servlet-name" value="*.jsp"/>
  +    <parameter name="forward" value="false"/>
     </jsp-engine>
  -
  +  -->
  +  
   </xconf>
  
  
  

Reply via email to