aspose file tools*
The moose likes Struts and the fly likes Struts2 A Query regarding Validation and displaying  Error messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 A Query regarding Validation and displaying  Error messages " Watch "Struts2 A Query regarding Validation and displaying  Error messages " New topic
Author

Struts2 A Query regarding Validation and displaying Error messages

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


Hi ,
I saw a example for simple Validation which is done in execute method of the Action class .



On to the Login.jsp the Author has used for displaying error messages .

<s:actionerror />
<s:fielderror />

But i could not find any use of <s:fielderror /> . I mean this application is working fine even if i removed <s:fielderror />.

Please tell me why did the Author used <s:fielderror />

Thanks in advance .

Save India From Corruption - Anna Hazare.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I am unable to read the author's mind today; perhaps if you try again tomorrow.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Ya sorry , it was a foolish question .

 
Don't get me started about those stupid light bulbs.
 
subject: Struts2 A Query regarding Validation and displaying Error messages
 
Similar Threads
how to design a form for a real life application
Removing the msgs of the required fields
Displaying validation error messages only at the top in struts 2
struts 2 validator problem
Showing Hiding <s:div> tag in Struts2