index.jsp

来自「一套购物车项目。电子商务系统。实现了前台和后台的业务逻辑。」· JSP 代码 · 共 28 行

JSP
28
字号
<%@ page contentType="text/html;charset=gb2312" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>J2EE电子商务购物网站</title>
<script language="javascript"> 
	window.onbeforeunload = function() 
	{ 
	if((window.event.screenX - window.screenLeft) > (document.documentElement.scrollWidth-20) && window.event.clientY < 0 || window.event.altKey) 
	{ 
		window.open('loginServlet?task=exit'); 
	} 
} 
</script>

</head>
<%
  String contextPath = request.getContextPath();
%>
<body>
<jsp:forward page="./shop/index.jsp"></jsp:forward>	
	
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?