Two Laptop Bag*
The moose likes Struts and the fly likes Validation in Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validation in Struts 2" Watch "Validation in Struts 2" New topic
Author

Validation in Struts 2

Bunty Paul
Greenhorn

Joined: Jun 26, 2006
Posts: 28
I did some validation for the fields in my JSP using struts 2 taglib.
It uses field validator which displays the actionerrors above every field.

But i want to specify that actionerrors be displayed only at the top of the page. How can i do this. Anyone using struts 2 could help me and thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Validation in Struts 2
 
Similar Threads
Struts framework
struts 2 validation
<html:errors /> not viewing
Getting values from properties in validate-using multiple message-resources in struts
struts2 xml validator error message placement?