This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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