Solved

Dynavalidatorform not recognized

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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