我想问一下客户端显示的那个sina.com.cn页面,是tomcat服务器响应给他的,还是他自己从新浪网上请求的。大家能理解我的问题吧
这是index.jsp页面,客户端请求这个页面
<html>
<head>
<meta http-equiv="refresh" content="3">
</head>
<frameset rows="*,10%,10%">
<frame name="top" src="http://gs.dlut.edu.cn"/>
<frame name="median" src="uids.jsp"/>
<frame name="bottom" src="uids.jsp"/>
</frameset>
</body>
</html>uids.jsp页面的内容为<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<%
response.sendRedirect( "http://sina.com.cn“ );
%>
</head>
<body>
</body>
</html>
这是index.jsp页面,客户端请求这个页面
<html>
<head>
<meta http-equiv="refresh" content="3">
</head>
<frameset rows="*,10%,10%">
<frame name="top" src="http://gs.dlut.edu.cn"/>
<frame name="median" src="uids.jsp"/>
<frame name="bottom" src="uids.jsp"/>
</frameset>
</body>
</html>uids.jsp页面的内容为<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<%
response.sendRedirect( "http://sina.com.cn“ );
%>
</head>
<body>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货