jsp中frame标签若出现在body标签内,则无法正常运行.
错误例子:
<html>
<head>
<title>前台首页</title>
</head>
<body>
<frameset rows="25%,*">
<frame src="${pageContext.request.contextPath }/client/head.jsp" name="head">
<frame src="${pageContext.request.contextPath }/client/body.jsp" name="body">
</frameset>
</body>
</html>
修改后
<html>
<head>
<title>前台首页</title>
</head>
<frameset rows="25%,*">
<frame src="${pageContext.request.contextPath }/client/head.jsp" name="head">
<frame src="${pageContext.request.contextPath }/client/body.jsp" name="body">
</frameset>
</html>