Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 10566 invoked by uid 500); 10 Jul 2001 20:16:02 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 7541 invoked from network); 10 Jul 2001 20:11:20 -0000 Message-ID: <3B4B617A.2070104@ieee.org> Date: Tue, 10 Jul 2001 17:11:38 -0300 From: "Marcelo F. Ochoa" Reply-To: mochoa@ieee.org Organization: Fac. de Cs. Exactas - UNICEN User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.1) Gecko/20010607 X-Accept-Language: en-us MIME-Version: 1.0 To: cocoon-dev CC: Davanum Srinivas Subject: Re: [C2]: Planning beta 2 (Configurable JspGenerator which work with Oracle9iAS Containers for J2EE) References: <20010710144021.32258.qmail@web12806.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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