输入校验二(对某个方法校验) Action
input.jsp pageEncoding="UTF-8"%> <%@ taglib uri="/struts-tags" prefix="s" %> <html><body> <s:fielderror/></body></html>