This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes ActionErrors inside ValidatorForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ActionErrors inside ValidatorForm" Watch "ActionErrors inside ValidatorForm" New topic
Author

ActionErrors inside ValidatorForm

Karthik Rajendiran
Ranch Hand

Joined: Aug 13, 2004
Posts: 211
Hello Friends,
We have a input jsp with 2 date fields.Date validation was done using validator framework
We are overriding the validate method in the form bean extending the validatorform.

1.Inside the validate method, we are trying to do overlap check between dates and report error
2. we want this check to happen only when the initial required and mask test finished
How to do that?How to retrieve value in actionerrors for the sucess of prior validation


SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Inside your validate method, code the following:



Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ActionErrors inside ValidatorForm
 
Similar Threads
validation problem in struts
validator frame work question
Struts Validator not validating on the server-side
validation fron both ActionForm and struts inbuilt validtaion
invoking Validation.xml