File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Server side Struts validation" Watch "Server side Struts validation" New topic

Server side Struts validation

Damanjit Kaur
Ranch Hand

Joined: Oct 18, 2004
Posts: 346

In my Jsp form I want to use struts-validator. Can any one please tell me how to use it for just server-side validations as I don't want the java-script code on client side.

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

You use it the same way as with javascript except you do not use the html:javascript tag in the jsp.

A good workman is known by his tools.
It is sorta covered in the JavaRanch Style Guide.
subject: Server side Struts validation
jQuery in Action, 3rd edition