customer_list.jsp
来自「实现很多功能 实现很多功能 实现很多功能」· JSP 代码 · 共 12 行
JSP
12 行
<%@ include file="tags.jsp"%>
<%pageContext.setAttribute("male",new String("男".getBytes("iso-8859-1"),"utf-8")); %>
<%pageContext.setAttribute("fmale",new String("女".getBytes("iso-8859-1"),"utf-8")); %>
<sql:query var="customers" sql="select * from t_data_customers order by id desc"></sql:query>
<root>
<c:forEach var="customer" begin="0" items="${customers.rows}">
<customer id="${customer.id}" customerName="${customer.name}" mobile="${customer.mobile}" gender="${customer.gender eq 1 ? pageScope.male : pageScope.fmale }" birthday="${customer.birthday }" birthdayType="${customer.birthday_type }"/>
</c:forEach>
</root>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?