struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samere, Adam J" <>
Subject RE: how do I use a LazyDynaBean as an ActionForm?
Date Tue, 11 Jul 2006 18:22:23 GMT
The class you are missing is part of the commons validator framework.

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.


-----Original Message-----
From: Yanroy [] 
Sent: Tuesday, July 11, 2006 1:53 PM
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:


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,
View this message in context:
Sent from the Struts - User forum at

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

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:
For additional commands, e-mail:

View raw message