On 26/07/2011 09:38, Anne, Radhakrishna (NSN - IN/Bangalore) wrote: > > Hello, > > I would like to changes the default order look up for class loading, as > I understood from the doc, the order of look up is > 1) WEB-INF/classes > 2) WEB_INF/lib. > > Now I wanted to change this order and have my own order look up as shown > below i.e. > 1) /opt/shared/classes > 2) WEB-INF/classes > 3) WEB_INF/lib. > > Can someone help me out..? I am using tomcat 6 version.
No, the only way to do this is via a custom classloader of your own design. It is probably a bad idea to do this - a webapp's classloader is supposed to load its own classes first. Why can't you include the classes in the webapp? p --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org