📄 updatebody.jsp
字号:
<%@page contentType="text/html; charset=GBK" pageEncoding="GBK"%>
<%@page isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<!-- 定义标题 -->
<c:set var="pageTitle" scope="application">
<bean:message key="customer.title.update"/>
</c:set>
<div id="customer">
<html:form action="/protect/customer/addupdate.do?method=modify" method="POST">
<table style="width:40%;border-bottom:dashed 1px #336699;font-size:14px" align="center" cellspacing="0">
<tr>
<th class="tr_bg_left"> </th>
<th class="tr_bg_middle" colspan="2">
<bean:message key="customer.title.update"/>
</th>
<th class="tr_bg_right"> </th>
</tr>
<c:set var="cs" value="${ customer_update }"/>
<c:set var="id" value="${ cs.id }"/>
<c:set var="name" value="${ cs.name }"/>
<c:set var="sname" value="${ cs.short_name }"/>
<c:set var="chief" value="${ cs.chief }"/>
<c:set var="address" value="${ cs.address }"/>
<c:set var="pcode" value="${ cs.post_code }"/>
<c:set var="area" value="${ cs.area }"/>
<c:set var="acode" value="${ cs.area_code }"/>
<c:set var="phone" value="${ cs.phone }"/>
<c:set var="bname" value="${ cs.bank_name }"/>
<c:set var="bcode" value="${ cs.bank_code }"/>
<c:set var="accountNum" value="${ cs.account_number }"/>
<tr>
<td> </td>
<td>
<bean:message key="customer.property.name"/>
<input type="hidden" name="c_id" value="${ id }"/>
</td>
<td><input name="name" type="text" value="${ name }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.shortName"/></td>
<td><input name="short_name" type="text" value="${ sname }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.chief"/></td>
<td><input name="chief" type="text" value="${ chief }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.address"/></td>
<td><input name="address" type="text" value="${ address }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.postCode"/></td>
<td><input name="post_code" type="text" value="${ pcode }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.area"/></td>
<td><input name="area" type="text" value="${ area }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.areaCode"/></td>
<td><input name="area_code" type="text" value="${ acode }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.phone"/></td>
<td><input name="phone" type="text" value="${ phone }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.bankName"/></td>
<td><input name="bank_name" type="text" value="${ bname }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.bankCode"/></td>
<td><input name="bank_code" type="text" value="${ bcode }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><bean:message key="customer.property.accountNum"/></td>
<td><input name="account_num" type="text" value="${ accountNum }"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><input type="submit" class="updatebtn" value=""></td>
<td> </td>
</tr>
</table>
</html:form>
</div>
<div style="align:center;color:red"><html:errors/></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -