?? sample5.jsp
字號:
<%@ page language="java" contentType="text/html; charset=gb2312"%>
<jsp:useBean id="splBean" class="ch6.SampleBean3" scope="request"/>
<html>
<head>
<title>request范圍的JavaBean</title>
</head>
<body>
<%splBean.getNum();%>
<center><p><font size="5">訪問人次:<strong><jsp:include page="sample4.jsp" flush="true"/></strong></font></p></center>
<p>請你分別做如下操作,看訪問人次的變化情況:</p>
<p>1、按F5鍵或者單擊【查看】/【刷新】命令來刷新頁面。</p>
<p>2、單擊【文件】/【新建】/【窗口】命令打開一個相同的新窗口。</p>
<p>3、再打開一個瀏覽器并訪問此JSP網頁。</p>
<p>4、在網絡中的另一臺計算機上訪問此JSP網頁。</p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -