来自「一些jsp源代码 内含完整jsp程序 希望大家喜欢!!!!!!!!!!!!!」· 代码 · 共 25 行

TXT
25
字号
范例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 + =
减小字号Ctrl + -
显示快捷键?