Solved

Dynavalidatorform not recognized

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 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

19 Experts available now in Live!

Get 1:1 Help Now