<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>修改网点信息</title> </head> <body> <form action="updateServlet" method="post"> <table> <tr><td colspan="2" style="text-align: center;"><h1>修改网点信息</h1> </td></tr> <tr> <td>网点名称:</td> <td><input type="text" name="name"></td> </tr> <tr> <td>所在城区:</td> <td> <select name="city"> <option value="0">请选择</option> <c:forEach items="${clist }" var="city" varStatus="status"> <option selected="selected" value="${city.id}">${city.name } <option value="${city.id }">${city.name} </c:forEach> </option> </select> </td> </tr> <tr> <td>网点地址:</td> <td><input type="text" name="address"></td> </tr> <tr> <td>联系电话:</td> <td><input type="text" name="telephone"></td> </tr> <tr><td colspan="2" style="text-align: center;"> <input type="submit" value="修改"> <input type="reset" value="重置"> <a href="BrancheseServlet"><input type="button" value="取消"></a> </td></tr> </table> </form> </body> </html>