I have a surveying appl开发者_开发百科ication were each question in an iterated list needs to have at least one of its optional answered selected. I want to validate using struts 2 , that each question has been answered. many thanks, Mbayader
One ways to accomplish on your requirement is by extending the class struts2 ActionSupport class. Then you should override the super validate() method to your business requirement in which you have mentioned in your question.
精彩评论