tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Ponschab <ponsc...@isys-software.de>
Subject Re: Classloader TC3.3
Date Tue, 06 Nov 2001 08:08:54 GMT
Thanks for your answer,

is there cuurently any possibility mapping other extensions than *.jsp 
to get the hook in JspInterceptor?
It seems to be more effective rather than invoking the JspServlet.

Marc


Larry Isaacs wrote:

> You aren't making a mistake, other than thinking you made a
> mistake.  This is probably the simplest solution if you
> want to make use of Jasper's JspServlet.
> 
> To improve performance, Tomcat 3.3 doesn't use Jasper's
> JspServlet.  Instead JSP's are translated (using Jasper) and
> compiled by the JspInterceptor.  The resulting JSP servlet is
> then served with the same overhead as a regular servlet.  A
> side effect of this is that the JspServlet isn't visible to web
> applications by default.
> 
> Note that the useJspServlet="true" option for the JspInterceptor
> currently trips on this same problem of the JspServlet not being
> visible to webapps.  We are currently working on fixing this for
> Tomcat 3.3.1.
> 
> Cheers,
> Larry
> 
> 
>>-----Original Message-----
>>From: Marc Ponschab [mailto:ponschab@isys-software.de]
>>Sent: Monday, November 05, 2001 10:15 AM
>>To: tomcat-user@jakarta.apache.org
>>Subject: Classloader TC3.3
>>
>>
>>Hi,
>>
>>i've problems understanding the classloader hierarchy in Tomcat 3.3.
>>In my webapps, i use for generating dynamic CSS-sheets the following 
>>entries:
>>
>><servlet>
>>     <servlet-name>
>>         css
>>     </servlet-name>
>>     <servlet-class>
>>         org.apache.jasper.servlet.JspServlet
>>     </servlet-class>
>></servlet>
>><servlet-mapping>
>>     <servlet-name>
>>         css
>>     </servlet-name>
>>     <url-pattern>
>>         *.css
>>     </url-pattern>
>></servlet-mapping>
>>
>>This works fine with tomcat 3.2.x and also Tomcat 4, but tomcat 3.3 
>>requires at least the following JARs in the $TOMCAT_HOME/lib/apps 
>>directory to avoid ClassNotFound-Exceptions:
>>jasper.jar, crimson.jar, xalan.jar, tools.jar
>>But i think this cannot be the proper solution, so: what's my 
>>misstake?
>>
>>Thank you in advance, Marc



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message