📄 param.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
<title>EL Example- Param.jsp</title>
</head>
<body>
<h2>EL隐含对象 param、paramValues</h2>
<fmt:requestEncoding value="GB2312" />
姓名:<c:out value="${param.username}"/></br>
密码:<c:out value="${param.password}"/></br>
性别:<c:out value="${param.sex}"/></br>
年龄:<c:out value="${param.old}"/></br>
兴趣:<c:out value="${paramValues.habit[0]}"/>
<c:out value="${paramValues.habit[1]}"/>
<c:out value="${paramValues.habit[2]}"/>
<c:out value="${paramValues.habit[3]}"/>
<c:out value="${paramValues.habit[4]}"/>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -