At 23:28 15.01.2001 , you wrote:
>What gets processed first:
>$ORION/lib  or $ORION/$WEBAPP/WEB-INF/lib or $ORION/$WEBAPP/WEB-INF/classes
>?
>
>I am developing a J2EE app built on the Struts framework and found that my
>application would
>not work when I put struts.jar in $ORION/$WEBAPP/WEB-INF/lib but would work
>when I put struts.jar in
>$ORION/lib AND  moved my class files from $ORION/$WEBAPP/WEB-INF/classes to
>$ORION/lib.
>
>Can someone explain what was happening there? Is there a rule of thumb of
>what dir to use?

check this message 
http://www.mail-archive.com/[email protected]/msg00618.html 
and make sure you generally understand how classloader delegation works. by 
now I'm convinced it's necessary when you dive deeper into J2EE development 
(check the archives for almost exactly the same questions asked by me a 
while back ;-). it just comes up again and again.

regards,

robert

>Thanks, Neal
>

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


Reply via email to