Solved

Dynavalidatorform not recognized

Posted on 2006-06-20
3
212 Views
Last Modified: 2010-04-01
dear experts

i am using dynavalidator form in my application. My struts config looks like this
<form-bean name="testForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
                <form-property name="sampletest" type="com.aoc.ffm.uifsa.vo.SampleTestPageVO" />
 </form-bean>

and my jsp looks like this
<html:text property="sampletest.textTestOne" size="20" maxlength="10"/>

where "textTestOne" is a field defined in the SampleTestPageVO with setter and getter methods.
but when i run the application , it gives me this error

>>>>>>org.apache.struts.util.RequestUtils  Error creating form bean of class org.apache.struts.validator.DynaValidatorForm
The following exception was logged java.lang.NullPointerException: The type for property sampletest is invalid

I am assuming struts config is not able to recognize dynavalidatorform.Am i missing something..

thanks
J
0
Comment
Question by:jaggernat
3 Comments
 
LVL 14

Accepted Solution

by:
boonleng earned 500 total points
ID: 16951601
The error means struts unable to find the class 'com.aoc.ffm.uifsa.vo.SampleTestPageVO'.
Make sure the class is in the classpath.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Fine Tune your automatic Updates for Ubuntu / Debian
Note: This is the third blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   We’ve been talki…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now