This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes Server-side Struts Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Server-side Struts Validation" Watch "Server-side Struts Validation" New topic

Server-side Struts Validation

Kiran Kumar
Ranch Hand

Joined: Jan 06, 2003
Posts: 91
Hello Everyone,

I have my struts application running well with client-side javascript validation and Dyna form beans. But now, I am trying to replace this with server-side validation. So far I have this logic for client-side validation.



Now, to replace the javascript client side validation with server-side validation, I did this



When I did this, the server-side validation didn't work. The screen functioned as if there was no validation at all.

Can anyone help me using DynaValidatorForm for server-side validation?

Thanks for your consideration,

------------<br />SCJP
jQuery in Action, 3rd edition
subject: Server-side Struts Validation
It's not a secret anymore!