日期:2014-05-16 浏览次数:20331 次
<%@ page language="java" pageEncoding="utf-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <s:action name="Test" id="test" executeResult="false" /> <s:action name="Type!myFunction" id="type" executeResult="false" /> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>用户注册</title> </head> <body> <h1> <font color="red">用户注册</font> </h1> <s:form action="User.action"> <s:select label="类别" headerKey="0" headerValue="--请选择子类型--" list="#test.strList" listKey="id" listValue="name" /> <s:select label="type" headerKey="0" headerValue="--请选择子类型--" list="#type.typeList"/> <s:submit></s:submit> </s:form> </body> </html>