日期:2014-05-16  浏览次数:20315 次

防止struts-config.xml文件膨胀_hello.jsp
<%@ page contentType="text/html; charset=Windows-31J" %>
<%@ taglib uri="/struts-html" prefix="html" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-31j">
<title>Login</title>
</head>
<body>
<font color="red"><html:errors/></font>
<html:form action="/LoginOtherAction.do">
<table width=100%>
<tr>
<td>UserName:<html:text property="userId" /><font color="red"><html:errors property="userId"/></font></td>
</tr>
<tr>
<td>Password:<html:text property="passWord" /><font color="red"><html:errors property="password"/></font></td>
</tr>
<tr>
<td><html:submit>Login</html:submit></td>
</tr>
</table>
<br>
</html:form>
</body>
</html>