struts2 validation中指定返回的result input
@InputConfig注解于方法
@InputConfig(methodName="createForm")public String create() {try {// userService.createUser(user , roles);TestDataProvider.users.add(user);return "createSuccess";} catch (Exception e) {logger.error(e);return ERROR;}}public String createForm(){return "create_input";}