cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/generation JspGenerator.java
Date Wed, 11 Jul 2001 19:19:42 GMT
dims        01/07/11 12:19:38

  Modified:    src/org/apache/cocoon/generation Tag: cocoon_20_branch
                        JspGenerator.java
  Log:
  Replace HttpServlet with Servlet for "Marcelo F. Ochoa" <mochoa@ieee.org>
  - Oracle9iAS Containers for J2EE which uses com.evermind.server.http.JSPServlet
  - Oracle JSP 1.1 uses oracle.jsp.JspServlet
  - DB Prism wrapper which integrates DB Prism 1.2.1 with Cocoon 2 framework uses com.prism.JspWrapper
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.6.2.4   +3 -3      xml-cocoon2/src/org/apache/cocoon/generation/JspGenerator.java
  
  Index: JspGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/generation/JspGenerator.java,v
  retrieving revision 1.6.2.3
  retrieving revision 1.6.2.4
  diff -u -r1.6.2.3 -r1.6.2.4
  --- JspGenerator.java	2001/07/10 12:30:41	1.6.2.3
  +++ JspGenerator.java	2001/07/11 19:19:13	1.6.2.4
  @@ -25,7 +25,7 @@
   import javax.servlet.ServletOutputStream;
   import javax.servlet.http.Cookie;
   import javax.servlet.http.HttpSession;
  -import javax.servlet.http.HttpServlet;
  +import javax.servlet.Servlet;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
   import org.apache.avalon.framework.component.Component;
  @@ -50,7 +50,7 @@
    * results into SAX events.
    *
    * @author <a href="mailto:dims@yahoo.com">Davanum Srinivas</a>
  - * @version CVS $Revision: 1.6.2.3 $ $Date: 2001/07/10 12:30:41 $
  + * @version CVS $Revision: 1.6.2.4 $ $Date: 2001/07/11 19:19:13 $
    */
   public class JspGenerator extends ServletGenerator implements Recyclable, Configurable
{
   
  @@ -94,7 +94,7 @@
   
               // start JSPServlet.
               Class clazz = Thread.currentThread().getContextClassLoader().loadClass(this.jspServletClass);
  -            HttpServlet jsp = (HttpServlet) clazz.newInstance();
  +            Servlet jsp = (Servlet) clazz.newInstance();
               jsp.init(new config((ServletContext)this.objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT)));
               jsp.service(request, response);
   
  
  
  

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