The class you are missing is part of the commons validator framework. http://jakarta.apache.org/commons/validator/
commons-validator.jar is certainly a part of the core struts distribution though. Make sure you include all the struts dependencies for your version. If all you need is to define ActionForms without writing concrete ActionForm subclasses yourself you can use the org.apache.struts.action.DynaActionForm. The lazy forms (DynaBean based) allow you to get and set properties without defining them in the form-bean declaration in struts-config.xml. Adam -----Original Message----- From: Yanroy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 1:53 PM To: user@struts.apache.org Subject: RE: how do I use a LazyDynaBean as an ActionForm? I've seen the LazyValidatorForm referenced on a number of websites. I actually tried it before I tried the LazyDynaBean, but it causes an exception. Apparently there's some related class missing? Here's what I get from tomcat when I try to use it: java.lang.NoClassDefFoundError: org/apache/commons/validator/ValidatorException The rest of the stack trace seems to indicate it's coming from a JSP, presumably the one my strut forwards to. My understanding of LazyValidatorForm is that it is now a full part of struts, so I assume it's in the struts libs, which are definately installed. I'm obviously missing something here... Do I need to enable the validator? I was planning on doing validation myself inside the strut. Thanks again, Ryan -- View this message in context: http://www.nabble.com/how-do-I-use-a-LazyDynaBean-as-an-ActionForm--tf19 25661.html#a5274452 Sent from the Struts - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]