Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Displaying Struts required field errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying Struts required field errors" Watch "Displaying Struts required field errors" New topic

Displaying Struts required field errors

James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
Hi All,

I am using Struts 2.2.1. My objective is to display Action field errors in jsp page. Below is my code.

When studentName is blank I am not getting any errors in test.jsp. Please let me know where I am doing mistake.

Thanks in advance
It is sorta covered in the JavaRanch Style Guide.
subject: Displaying Struts required field errors
Similar Threads
Check less than operator in struts if tag
Working with struts in FF3.5
Struts 2 Remote Div Problem
how to include struts action in jsp
s:iterator tag in jsp page