Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 A Query regarding Validation and displaying Error messages

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 .
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am unable to read the author's mind today; perhaps if you try again tomorrow.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya sorry , it was a foolish question .

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic