main.jsp

来自「图书馆管理系统 能满足 查询」· JSP 代码 · 共 49 行

JSP
49
字号
<%@ page language="java"   pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";		
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<% if(request.getSession().getAttribute("loginfoA")==null){
 %>
<script type="text/javascript">
 window.document.location.href="/BookManager/login.do?method=logout";
 </script>
 <%} %>
<div align="center">
<jsp:include page="/top.jsp"></jsp:include>
    <head>
		<base href="<%=basePath%>">
		<title>管理员登录</title>
		<link href="/css/style.css" rel="stylesheet" >
	</head>
<jsp:include page="/info.jsp"/>
<!--MIDDLE-->
<div id="middle">
	<div class="left" align="center">
	<jsp:include page="left.jsp"/>
	</div>
	<div class="right">
	<iframe class="right" src="" name="main" scrolling="no" frameborder="0" ></iframe>
	</div>
</div>

<!--end MIDDLE-->

<!--BOTTOM-->
<jsp:include page="/bottom.jsp"></jsp:include>
<!--end BOTTOM-->
<logic:present name="msg">
			<%=(String)request.getAttribute("msg")%>
		</logic:present>

</div>

⌨️ 快捷键说明

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