📄
字号:
范例SessionObject3.jsp源代码:
001<html>
002<head>
003<title>Session对象示例-第三网页</title>
004</head>
005<body>
006<p align="left"><font size="5">Session对象示例-第三网页</font></p>
007<hr>
008<%
009 String choice1 = request.getParameter("choice1");
010 String choice2 = request.getParameter("choice2");
011 String choice3 = request.getParameter("choice3");
012 out.println(session.getAttribute("sessionName")+"得到此书方式");
013 if(choice1!=null)
014 out.println("<br>1、"+choice1);
015 if(choice2!=null)
016 out.println("<br>2、"+choice2);
017 if(choice3!=null)
018 out.println("<br>3、"+choice3);
019%>
020<br>
021<a href="SessionObject1.jsp">返回第一页</a>
022</body>
023</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -