You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by di...@apache.org on 2001/04/26 19:53:35 UTC

cvs commit: xml-cocoon/webapp/docs/samples/jsp hello.jsp

dims        01/04/26 10:53:35

  Modified:    webapp   Tag: xml-cocoon2 sitemap.xmap
               webapp/docs/samples Tag: xml-cocoon2 samples.xml
  Added:       src/org/apache/cocoon/generation Tag: xml-cocoon2
                        JspGenerator.java
               webapp/docs/samples/jsp Tag: xml-cocoon2 hello.jsp
  Log:
  Added JSPGenerator (Inspired by PHPGenerator) to provide some kind of
  migration path for people to switch to C2.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +255 -0    xml-cocoon/src/org/apache/cocoon/generation/Attic/JspGenerator.java
  
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.56  +7 -0      xml-cocoon/webapp/Attic/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/Attic/sitemap.xmap,v
  retrieving revision 1.1.2.55
  retrieving revision 1.1.2.56
  diff -u -r1.1.2.55 -r1.1.2.56
  --- sitemap.xmap	2001/04/25 15:39:07	1.1.2.55
  +++ sitemap.xmap	2001/04/26 17:53:34	1.1.2.56
  @@ -16,6 +16,7 @@
      <map:generator  name="script"      src="org.apache.cocoon.generation.ScriptGenerator"/>
      <map:generator  name="velocity"    src="org.apache.cocoon.generation.VelocityGenerator"/>
      <map:generator  name="html"        src="org.apache.cocoon.generation.HTMLGenerator" label="content"/>
  +   <map:generator  name="jsp"         src="org.apache.cocoon.generation.JspGenerator"/>
     </map:generators>
   
     <map:transformers default="xslt">
  @@ -296,6 +297,12 @@
   
      <map:match pattern="scripts/*">
       <map:generate type="script" src="docs/samples/scripts/{1}"/>
  +    <map:transform src="stylesheets/page/simple-page2html.xsl"/>
  +    <map:serialize type="html"/>
  +   </map:match>
  +
  +   <map:match pattern="jsp/*">
  +    <map:generate type="jsp" src="/docs/samples/jsp/{1}.jsp"/>
       <map:transform src="stylesheets/page/simple-page2html.xsl"/>
       <map:serialize type="html"/>
      </map:match>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.23  +3 -0      xml-cocoon/webapp/docs/samples/Attic/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/docs/samples/Attic/samples.xml,v
  retrieving revision 1.1.2.22
  retrieving revision 1.1.2.23
  diff -u -r1.1.2.22 -r1.1.2.23
  --- samples.xml	2001/04/25 15:39:09	1.1.2.22
  +++ samples.xml	2001/04/26 17:53:35	1.1.2.23
  @@ -98,6 +98,9 @@
      <sample name="Javascript Generator" href="scripts/hello.js">
       An example of the ScriptGenerator producing XML out of a Javascript program.
      </sample>
  +   <sample name="JSP Generator" href="jsp/hello">
  +    An example of the JSPGenerator producing XML out of using JSP.
  +   </sample>
      <sample name="Python Generator" href="scripts/hello.py">
       An example of the ScriptGenerator producing XML out of a Python program.
       You should make sure that you have the Jython interpreter (jython.jar) from
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +13 -0     xml-cocoon/webapp/docs/samples/jsp/Attic/hello.jsp
  
  
  
  

----------------------------------------------------------------------
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