This may be of no help, but I didn't see that you had the dynamic attribute to "true" like this:
<form-bean dynamic="true" name="loginForm" type="org.apache.struts.action.DynaActionForm"> Chuck At 02:42 PM 5/27/2002 -0300, you wrote: >Hi, > >Has anyone used the server-side validation with DynaActionForms using >the Struts Validator included in Struts 1.1-b1? > >There are two classes (DynaValidatorForm and DynaValidatorActionForm) in >the package org.apache.struts.validator, but when I tried always generates >a NullPointerException whith the getDynaClass() method. > >Example: > >// OK, but no validation ><form-bean name="loginForm" type="org.apache.struts.action.DynaActionForm"> >... ></form-bean> > >// NullPointerException in getDynaClass() method ><form-bean name="loginForm" > type="org.apache.struts.validator.DynaValidatorActionForm"> >... ></form-bean> > >Thanks in advance, > >Fernando. > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>