• Post Reply Bookmark Topic Watch Topic
  • New Topic

Server-side Struts Validation

 
Kiran Kumar
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!