<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>修改产品信息</h2>
<s:form action="index_doUpdateStudent" method="post">
<s:set name="t" value="checkboxid[0]"><s:property value="checkboxid[0]"/></s:set>
<%-- <s:hidden name="id" value=""/> --%>
<input type="hidden" name="id" value="${t}">
名字:<s:textfield name="name"/><br/>
班级:<s:textfield name="className"/><br/>
<s:submit value="修改"/><s:reset value="重置"/>
</s:form>
</body>
</html>
pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>修改产品信息</h2>
<s:form action="index_doUpdateStudent" method="post">
<s:set name="t" value="checkboxid[0]"><s:property value="checkboxid[0]"/></s:set>
<%-- <s:hidden name="id" value=""/> --%>
<input type="hidden" name="id" value="${t}">
名字:<s:textfield name="name"/><br/>
班级:<s:textfield name="className"/><br/>
<s:submit value="修改"/><s:reset value="重置"/>
</s:form>
</body>
</html>