struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaikin, Yaakov Y." <YAAKOV.Y.CHAI...@saic.com>
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?

Thanks,
Yaakov.

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


> -----Original Message-----
> From: Manisha Sathe [mailto:manisha_msathe@yahoo.com]
> Sent: Tuesday, January 04, 2005 2:02 AM
> To: user@struts.apache.org
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message