Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Dynavalidatorform not recognized

Posted on 2006-06-20
3
Medium Priority
?
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Accepted Solution

by:
boonleng earned 2000 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

649 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