Solved

Dynavalidatorform not recognized

Posted on 2006-06-20
3
215 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java beans and EJBs 5 201
maven set up 2 191
equalIsNot  challenge 43 178
main method of string class 3 122
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 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