📄 customer_list.jsp
字号:
<%@ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -