"Julie christiana" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Can anyone lend me pointers on how to use LoaderInterceptor11 with tomcat
4.1.24 ?
>
Urm, you can't ;-). LoaderInterceptor11 is specific to Tomcat 3.3.x. Other
than some stuff in the Connectors, the architecture for Tomcat 4 and higher
is totally different from Tomcat 3.3.
> We want to use this to load classsed from jar, zip files during runtime ?
>
I'm not an expert on 4.x CLs, but I believe that if you configure under your
<Context ...> tag something like:
<Loader className="org.apache.catalina.loader.WebappClassLoader"
jarClassPath="/path/to/myjars" />
I believe that it will be roughly equivalent to the 3.3 'additionalJars'
option.
> In the server.xml we have the following configuration :
>
> <ContextInterceptor
> className="org.apache.tomcat.context.LoaderInterceptor"
> useApplicationLoader="true" additionalJars="xxx.jar"/>
>
> Now, if we need to access a particular class from this jar, we would
implement a classloader which would be accessed by the JSPs .
>
> Is my understanding correct ? Any other configuration required for the
same ?
>
> Please lend me any pointers on how to implement a classLoader to access a
class file. I was unable to find the same in tomcat documentation.
>
> Any help on this is appreciated.
>
> TIA,
> Julie Chritiana
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]