File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Server-side Struts Validation" Watch "Server-side Struts Validation" New topic
Author

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.

FORM DEFs

In JSP



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

FORM DEFs


In JSP


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,
Kiran


------------<br />SCJP
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Server-side Struts Validation