<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="checkvalid.jsp" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
</head><frameset rows="126,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="top" />
<frameset rows="*" cols="257,*" framespacing="0" frameborder="no" border="0">
<frame src="left.jsp" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="left" />
<frame src="main.jsp" name="rightFrame" id="rightFrame" />
</frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>
在TOMCAT下显示不出来哪个checkvalid.jsp页面如下:
<%@page contentType="text/html; charset=gb2312"%>
<%request.setCharacterEncoding("gb2312");%>
<%@ page language="java" import="java.util.*,java.sql.*" pageEncoding="gb2312"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'checkvalid.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<!--验证用户是否经过有效检查 -->
<%
if( session.getAttribute("login") == null || !session.getAttribute("login").equals("ok")) {
response.sendRedirect("index.html");
}
%>
</body>
</html>
那位高手帮我看下
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="checkvalid.jsp" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
</head><frameset rows="126,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="top" />
<frameset rows="*" cols="257,*" framespacing="0" frameborder="no" border="0">
<frame src="left.jsp" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="left" />
<frame src="main.jsp" name="rightFrame" id="rightFrame" />
</frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>
在TOMCAT下显示不出来哪个checkvalid.jsp页面如下:
<%@page contentType="text/html; charset=gb2312"%>
<%request.setCharacterEncoding("gb2312");%>
<%@ page language="java" import="java.util.*,java.sql.*" pageEncoding="gb2312"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'checkvalid.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<!--验证用户是否经过有效检查 -->
<%
if( session.getAttribute("login") == null || !session.getAttribute("login").equals("ok")) {
response.sendRedirect("index.html");
}
%>
</body>
</html>
那位高手帮我看下
解决方案 »
- FCKeditor 上传图片调用的方法在哪
- jsp 数组传给js中的问题
- 软件开发之蓝领之路???
- hinernate 存储图片的类型
- 我使用Eclipse3.2+hibernate3.2下编一个入门的hibernate程序,可是老是出现如下错误,请高手指点
- .jsp文件在第一次运行是正常,刷新后就显示源代码了,怎么回事?
- web.xml的问题。
- 小弟一个小问题,急,在线等,不帮我55555555555555555!!!!解决就给分
- (进者有份)如何把服务器发送的数据在IE浏览器上显示出来,(动态的,是服务器不是数据库)
- 一个关于statement和resultset的不可解释的问题?在线等!
- 我是安装版的tomcat,我想升级怎么办,可以直接升级吗?
- 请问JDK,JRE,J2SE有什么区别
试试看呢