Below is an extract from the link below. I don't really understand it that well but if no guru answers..... You might search the archives further I'm sure I've seen this answered there but didn't find it. It's something to do with which class loader loads the struts classes. It has to be your web-apps class loader not the server class loader.... Sorry this is not as witty as Mr Galbreath's answer & probably just as useless..... =========================================== So, just like a call to a struts class in a web-app will need to be referenced under the WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib directory, you also need to have a root-relative path for any Application Resources. I place mine in the WEB-INF/classes folder as that is automatically referenced by my web container.
http://www.mail-archive.com/[email protected]/msg11825.html --- "Chappell, Simon P" <[EMAIL PROTECTED]> wrote: > I want to start out by saying that I have read the fine manual and realise > that the struts FAQ says that the struts.jar "must not" be placed on the > application server's CLASSPATH. > > My question to this list is why is this the case? I have a build manager who > very much wants only a single instance of any jar file to exist on a server > and they are asking why I am talking about putting multiples of the same file > on their machine? > > Simon > > ----------------------------------------------------------------- > Simon P. Chappell [EMAIL PROTECTED] > Java Programming Specialist www.landsend.com > Lands' End, Inc. (608) 935-4526 > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Search the archive:- http://www.mail-archive.com/struts-user%40jakarta.apache.org/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Bacon - Looking for struts work - South-East UK. phone UK 07960 011275 __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

