ilene       2003/02/28 10:26:06

  Modified:    java/samples/CompiledEJB README.ejb
               java/samples/CompiledServlet README.servlet
                        CompileServlet.java
  Removed:     java/samples/CompiledEJB top_frame.html bottom_frame.html
                        index.html
  Log:
  Patches for samples from Christine Li ([EMAIL PROTECTED])
  
  Revision  Changes    Path
  1.2       +10 -0     xml-xalan/java/samples/CompiledEJB/README.ejb
  
  Index: README.ejb
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/samples/CompiledEJB/README.ejb,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.ejb        19 Jul 2001 12:51:56 -0000      1.1
  +++ README.ejb        28 Feb 2003 18:26:05 -0000      1.2
  @@ -3,6 +3,7 @@
   
     o) HOW TO PROVIDE XSL TRANSFORMATIONS AS A WEB SERVICE
     o) HOW TO INVOKE TRANSLETS FROM AN ENTERPRISE JAVA BEAN
  +  o) TIPS OF RUNNING THE SAMPLES ON JBOSS-3.0.4_TOMCAT-4.1.12
   
   ------------------------------------------------------------
   HOW TO PROVIDE XSL TRANSFORMATIONS AS A WEB SERVICE
  @@ -80,6 +81,15 @@
    o) Call the servlet with the necessary parameters (at least
       an URI to the source XML document and the name of the
       translet class).
  +------------------------------------------------------------
  +TIPS OF RUNNING THE SAMPLES ON JBOSS-3.0.4_TOMCAT-4.1.12
  +
  +Copy the xsltc.jar to %Jboss_Home%/server/default/lib directory
  +
  +Put translet .class the same place where the EJB classes go
  +
  +The value of "translet" parameter must be the name of translet .class
   
  +The value of "document" parameter must be a valide xml URI
   ------------------------------------------------------------
   END OF README
  
  
  
  1.3       +18 -0     xml-xalan/java/samples/CompiledServlet/README.servlet
  
  Index: README.servlet
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/samples/CompiledServlet/README.servlet,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- README.servlet    19 Jul 2001 12:49:46 -0000      1.2
  +++ README.servlet    28 Feb 2003 18:26:05 -0000      1.3
  @@ -4,6 +4,7 @@
     o) HOW TO PROVIDE XSL TRANSFORMATIONS AS A WEB SERVICE
     o) HOW TO INVOKE TRANSLETS FROM A SERVLET
     o) BUILDING YOUR OWN DOM CACHE
  +  o) TIPS FOR RUNNING THE SAMPLES ON TOMCAT
   
   -----------------------------------------------------------------------
   HOW TO PROVIDE XSL TRANSFORMATIONS AS A WEB SERVICE
  @@ -165,6 +166,23 @@
       // Start the transformation
       translet.transform(dom, new TextOutput(saxHandler));
   
  +-----------------------------------------------------------------------
  +TIPS FOR RUNNING THE SAMPLES ON TOMCAT
  +
  +When compiling those two java files, you need to add the xalan.jar, 
xml-apis.jar,
  +xercesImpl.jar, xsltc.jar and servlet.jar (in %Tomcat_Home%/common/lib) to 
  +the classpath
  +
  +Copy xsltc.jar to the %Tomcat_Home%/common/lib directory
  +
  +Copy the translet .class to %Tomcat_Home%/common/classes directory
  +
  +The value of "class" parameter must be the name of translet .class
  +
  +The value of "source" parameter must be a valide xml URI
  +
  +The value of "sheet" parameter must be a valide xsl URI
   
  +The transleted xsl is stored under %Tomcat_Home%/bin/ (???)
   ------------------------------------------------------------
   END OF README
  
  
  
  1.6       +1 -3      
xml-xalan/java/samples/CompiledServlet/CompileServlet.java
  
  Index: CompileServlet.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/samples/CompiledServlet/CompileServlet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CompileServlet.java       30 Jan 2003 15:59:25 -0000      1.5
  +++ CompileServlet.java       28 Feb 2003 18:26:05 -0000      1.6
  @@ -60,8 +60,6 @@
    *
    */
   
  -package org.apache.xalan.xsltc.demo.servlet;
  -
   import java.io.IOException;
   import java.io.PrintWriter;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to