struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaikin, Yaakov Y." <>
Subject RE: Validator question
Date Tue, 04 Jan 2005 17:51:41 GMT
Although I agree with you that it's much easier to keep it all in the lib of
the webapp, I think it should still be ok to keep common-validator.jar in
the server's shared lib directory.

The classloader problem would only apply to struts.jar since it tries to
load classes dynamically and therefore needs to be in the same (or below)
classloader. I don't think validator framework does the same, does it?


-----Original Message-----
From: Jim Barrows []
Sent: Tuesday, January 04, 2005 12:00 PM
To: Struts Users Mailing List
Subject: RE: Validator question

> -----Original Message-----
> From: Manisha Sathe []
> Sent: Tuesday, January 04, 2005 2:02 AM
> To:
> Subject: Validator question
> I just started learning validator (struts) and developed one
> small form with one single field. I used Javascript and
> serverside validatin both.
> Till now i used to put all my jar files inside {Tomcat
> home}/common/lib and it was all ok. (I do not want to keep
> too many copies of jar files inside different application
> directories). Till now this seems to be not working.

Nope it won't work.  Classloader issues.  See archive for details.
Keep each wars jars in the lib.  Much easier.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message