Hello,

When I place all of my class files into a jar file and then move the jar 
file to the tomcat lib directory Tomcat can load my SessionInterceptor 
class. BUT, when i do this it appears that the jar files in my WEB-INF/lib 
directory are NOT loaded. Do I have to put everything (all classes and 
supporting jar files) into the Tomcat lib directory?

thanks



At 07:34 PM 5/17/2001, Twylite wrote:
>Hi,
>
> >I've written my own version of the SessionInterceptor and placed this with
> >my application class files (com.myapp.uril.SessionInterceptor). I updated
> >the server.xml file to point to my version of the class instead of Tomcats
> >by updating the following:
> >
> >         <RequestInterceptor
> >             className="com.myapp.util.SessionInterceptor"
> >             noCookies="false" />
> >
>
>Unless I'm mistaken you're going to need your class files in tomcat's lib 
>directory, or in your Java class path
>before you start tomcat.
>
>Anything in server.xml is server-wide, and must be available to Tomcat 
>when you start the server.  Anything in
>web.xml is context-wide, and must be available to the context when you 
>first access it.
>
>Twylite

Reply via email to