• Post Reply Bookmark Topic Watch Topic
  • New Topic

validation by annotations  RSS feed

 
James Peter
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I want to validate user inputs for all methods within my action.



method is like below


when i use like above i am getting a run time exception.
I think I am doing it in a wrong way. Any one help me to know correct way of doing? I searched net but could not get any example.


Thanks in advance
Peter
 
James Peter
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just for further info.

I am getting below error.

No result defined for action action.Student and result input
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!