%@ page import="com.alex.web.entity.BaseUser"%><%String basePath = request.g..._jsp页面模板">
赞
踩
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ page import="com.alex.web.entity.BaseUser"%>
- <%String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();%>
- <%String contextPath = request.getContextPath();%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Book Project</title>
- <script type="text/javascript" src="style/jquery/jquery-1.8.2.min.js"></script>
- <script type="text/javascript" src="<%=contextPath%>/style/js/json3.min.js"></script>
- <link rel="stylesheet" href="${pageContext.request.contextPath}/style/css/index.css">
-
- <script type="text/javascript">
-
- </script>
- <style type="text/css">
-
- </style>
- <%--
- 静态引入
- <%@ include file="" %>
- 动态引入
- <jsp:include page="inc.jsp" />
- --%>
- <jsp:include page="inc.jsp"></jsp:include>
- </head>
- <body>
- <%
- BaseUser baseUser = (BaseUser) session.getAttribute("baseUser");
- if (baseUser != null) {
- request.getRequestDispatcher("main.jsp").forward(request, response);
- } else {
- request.getRequestDispatcher("main.jsp").forward(request, response);
- }
- %>
- </body>
- </html>
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ page import="java.util.Map"%>
- <%@ page import="java.util.HashMap"%>
- <%@ page import="org.apache.commons.lang3.StringUtils"%>
- <%@page isELIgnored="false" %>
- <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
- <%String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";%>
- <%String contextPath = request.getContextPath();%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title></title>
- <script type="text/javascript" src="style/jquery/jquery-1.8.2.min.js"></script>
- <script type="text/javascript" src="style/bootstrap/js/bootstrap.min.js"></script>
- <script type="text/javascript" src="<%=contextPath%>/style/js/json3.min.js"></script>
- <link rel="stylesheet" type="text/css" href="style/bootstrap/css/bootstrap.css"/>
- <link rel="stylesheet" type="text/css" href="style/bootstrap/css/bootstrap-responsive.css" />
- <link rel="stylesheet" type="text/css" href="style/css/index.css" />
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/css/index.css"/>
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}style/foot/foot.css"/>
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}style/head/head.css"/>
- <script type="text/javascript">
-
- </script>
- <style type="text/css">
- </style>
- </head>
- <body>
-
- </body>
- </html>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。