The question is better

"what happen if you have 2 classes with same name and package in the
same classloader?"
Knowing which of both classes will be indeed loaded and used when need
is undetermined. Only one of those classes will be used, but it there is
no rule as to which will be used. This is mainly depended on the order
at which tomcat looks at .jar which itself is dependent on order in
which filesystem returns them, which depend on os, date, filename, etc.


En l'instant précis du 10/10/07 16:45, Andrew Hole s'exprimait en ces
termes:
> What happens if I put different jar versions of same classes on WEB-INF/lib?
> Example:
> project.jar (new version)
> project_old.jar (old version)
>
> Tomcat load and use both? Could Tomcat be confused with this situation?
>
> Thanks a lot
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>   


-- 
http://www.devlog.be (a belgian developer's logs)



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to