cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-cocoon2/src/blocks/jsp/conf jsp.xconf jsp.xmap jsp.xroles
Date Tue, 03 Dec 2002 17:07:39 GMT
nicolaken    2002/12/03 09:07:39

  Added:       src/blocks/jsp/conf jsp.xconf jsp.xmap jsp.xroles
  Log:
    <action dev="NKB" type="update">
      Moved the jsp components to the jsp block, using hand-made-to-be-cleaned
      mock objects for the weblogic specific imports.
      Had also to move some definitions from the cocoon roles and xconf file.
      This moving of the blocks is indeed cleaning the core! :-)
    </action>
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/src/blocks/jsp/conf/jsp.xconf
  
  Index: jsp.xconf
  ===================================================================
  <?xml version="1.0"?>
  
  <xconf xpath="/cocoon" unless="jsp-engine">
     
    <!-- JSP Engine:
      The JspGenerator selects 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.
      This way you can continue to use your JSP pages. Your migration from JSP
      to XSP may be done step by step. You may specify your JSP pages either as
      JSP scriptlets or as JSP-XML. But keep in mind that your JSP output should
      be valid XML.
    -->
    <jsp-engine logger="core.jsp-engine">
      <parameter name="servlet-class" value="org.apache.jasper.servlet.JspServlet"/>
      <parameter name="servlet-name" value="*.jsp"/>
    </jsp-engine>
  
  </xconf>
  
  
  1.1                  xml-cocoon2/src/blocks/jsp/conf/jsp.xmap
  
  Index: jsp.xmap
  ===================================================================
  <?xml version="1.0"?>
  
  <xmap xpath="/sitemap/components/readers"
        unless="reader[@name='jsp']">
      <map:reader name="jsp" src="org.apache.cocoon.reading.JSPReader"/>
  </xmap>
  
  
  
  1.1                  xml-cocoon2/src/blocks/jsp/conf/jsp.xroles
  
  Index: jsp.xroles
  ===================================================================
  <?xml version="1.0"?>
  <xroles xpath="/role-list" unless="role[@name='org.apache.cocoon.components.jsp.JSPEngine']">
  
    <role name="org.apache.cocoon.components.jsp.JSPEngine"
          shorthand="jsp-engine"
          default-class="org.apache.cocoon.components.jsp.JSPEngineImpl"/>
  
  </xroles>
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message