<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ page contentType="text/html; charset=GBK" %>
<html:html>
<HEAD>
<TITLE>订阅</TITLE>
</HEAD>
<BODY bgcolor="#f4f4f4">
<H1>订阅表</H1>
<logic:messagesPresent>
<UL>
<FONT color='red' >
<html:messages id="error">
您的年龄必须在 18 至 25 岁范围内才能订阅！
</html:messages>
</FONT>
</UL>
</logic:messagesPresent>
<html:form action="subs" method="post">
<HR>
<TABLE>
<TR>
<TD>输入姓名：</TD>
<TD><html:text property="name"/><TD><BR>
</TR>
<TR>
<TD>输入年龄：</TD>
<bean:message key="age"/>
<TD><html:text property="age"/></TD><BR>
</TR>
</TABLE>
<HR>
<TABLE>
<TR>
<TD><html:submit value="提交" property="Submit"/></TD>
<TD><html:reset value="重置"/></TD>
	</TR>
</TABLE>
</html:form>
</BODY>
</html:html>
