aspose file tools*
The moose likes Struts and the fly likes validation by annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validation by annotations" Watch "validation by annotations" New topic
Author

validation by annotations

James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
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

Joined: Sep 15, 2010
Posts: 115
just for further info.

I am getting below error.

No result defined for action action.Student and result input
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validation by annotations