Closed GoogleCodeExporter closed 9 years ago
This is not an Issue for this Project. Please ask Struts2 related stuff at the
Struts2 Mailing List.
public String processMyAction() {
// do the Logic
return "success";
}
@Validations(requiredStrings={
@RequiredStringValidator(fieldName="userId",type=ValidatorType.FIELD,message="UserId should not empty"),
@RequiredStringValidator(fieldName="password",type=ValidatorType.FIELD,message="Password should not empty")
})public String action1() {
return processMyAction();
}
@Validations(requiredStrings={
@RequiredStringValidator(fieldName="userId",type=ValidatorType.FIELD,message="UserId should not empty")
})public String action2() {
return processMyAction();
}
Original comment by johgep
on 10 Dec 2012 at 12:37
Original issue reported on code.google.com by
soft.div...@gmail.com
on 23 Nov 2012 at 10:21