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 - [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]