12345678910111213141516171819202122232425262728293031323334353637 |
- <%@ page import="java.sql.SQLOutput" %>
- <%@ page import="java.util.Date" %>
- <%--
- Created by IntelliJ IDEA.
- User: Lenovo
- Date: 2023/11/5
- Time: 9:36
- To change this template use File | Settings | File Templates.
- --%>
- <%@ page contentType="text/html;charset=UTF-8" language="java"%>
- <html>
- <head>
- <title>jsp页面</title>
- </head>
- <body>
- <h1>当前这是jsp页面</h1>
- ${userName}
- <br>
- 数据长度===>${userList.size()}
- 这是list集合${ not empty userList}
- <hr>
- 1+2=${1+2}
- <hr>
- 2+3*4====${2+3*4}
- <%--除--%>
- 9除以3=${9/3}
- <br>
- ${8/3}
- <hr>
- ${7 div 2}
- 取余 ${9%2} === ${ 9 mod 2}
- == eq ===>${2 == 2} ${1 eq 3}
- <hr>
- </body>
- </html>
|