cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo F. Ochoa" <moc...@ieee.org>
Subject Re: [C2]: Planning beta 2 (Configurable JspGenerator which work with Oracle9iAS Containers for J2EE)
Date Tue, 10 Jul 2001 20:11:38 GMT
Davanum Srinivas wrote:

>>
>>
> 
> Marcelo, 
> Do you have some time to do this?

  IMO using the interface javax.servlet.Servlet will be work for all cases.
  - "javax.servlet.http.HttpServlet" class extends 
javax.servlet.GenericServlet which implements javax.servlet.Servlet 
interface.
  - "com.evermind.server.http.JSPServlet" implements 
javax.servlet.Servlet interface.

 - "com.prism.JspWrapper" implements javax.servlet.Servlet interface.
 Then using:

...

import javax.servlet.Servlet;
...
            Class clazz = Thread.currentThread().getContextClassLoader().loadClass(this.jspServletClass);
            Servlet jsp = (Servlet) clazz.newInstance();
            jsp.init(new config((ServletContext)this.objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT)));
            jsp.service(request, response);
...
will be work ...
> 
> 
> Thanks,
> dims
> 
> 

  Many thanks in advance, Marcelo

-- 
Marcelo F. Ochoa - mochoa@ieee.org
Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press 
http://www.wrox.com/)
Chapter 8 of the book "Oracle & Open Source" (O'Reilly 
http://www.oreilly.com/catalog/oracleopen/)
-----------------------------------------------
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-444430 Fax: +54-2293-444431


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message