一个公共的common.jsp,使用Bootstrap所需的引入内容
来源:互联网 发布:淘宝闲置二手交易流程 编辑:程序博客网 时间:2024/06/06 02:26
<%@ page isELIgnored="false" %><%@ page language="java" pageEncoding="UTF-8"%><%@page import="java.util.Date"%><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%><%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %><%String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath();%><c:set var="basePath" value="<%=basePath %>" scope="session"/><c:set var="contextPath" value="${pageContext.request.contextPath}" scope="session"/><c:set var="imagesPath" value="${basePath}/images" scope="session"/><c:set var="stylesPath" value="${basePath}/css" scope="session"/><c:set var="scriptsPath" value="${basePath}/scripts/" scope="session"/><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --><!-- WARNING: Respond.js doesn't work if you view the page via file:// --><!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --><!--[if lt IE 9]> <script src="${scriptsPath}/browser-compatibility-js/html5shiv.min.js?now=${timestamp}"></script> <script src="${scriptsPath}/browser-compatibility-js/respond.min.js?now=${timestamp}"></script><![endif]--><!-- constants variable --><script type="text/javascript">var basePath = '${basePath}';var contextPath = '${contextPath}';var imagesPath = '${imagesPath}';var stylesPath = '${stylesPath}';var scriptsPath = '${scriptsPath}';</script><script type="text/javascript" src="${scriptsPath}/jQuery/jquery-1.11.3.min.js" charset="utf-8"></script><link rel="stylesheet" type="text/css" href="${stylesPath}/base.css" /><script type="text/javascript" src="${scriptsPath}/common/map.js" charset="utf-8"></script><script type="text/javascript" src="${scriptsPath}/common/common.js" charset="utf-8"></script><!-- 新 Bootstrap 核心 CSS 文件 --><link rel="stylesheet" href="${scriptsPath}/bootstrap/css/bootstrap.min.css"><!-- 可选的Bootstrap主题文件(一般不用引入) --><link rel="stylesheet" href="${scriptsPath}/bootstrap/css/bootstrap-theme.min.css"><!-- 最新的 Bootstrap 核心 JavaScript 文件 --><script type="text/javascript" src="${scriptsPath}/bootstrap/js/bootstrap.min.js" charset="utf-8"></script>
0 0
- 一个公共的common.jsp,使用Bootstrap所需的引入内容
- html 如何引入一个公共的头部和底部(不使用模版引擎如jsp、freemarker、velocity的方式)
- JSP标签 使用引入jstl.jar 使用 bootstrap需要引入的文件(在线文件)
- Bootstrap所需文件引入
- bootstrap-datetimepicker的引入
- 移动一个网站集所使用的内容数据库
- 关于jsp引入js的一个问题
- html 如何引入一个公共的头部和底部
- jsp引入bootstrap、bootstrap-Validator后出现xxx is not a function的问题及解决办法!
- ssm jsp引入Bootstrap
- jsp中引入bootstrap
- jsp页面使用相关标签需引入的代码
- 一个jsp引入另一个jsp页面的方式
- bootstrap 三个文件的引入
- 简单的webpack- 引入bootstrap
- 一个jsp页面引入另一个jsp页面的三种方式 及静态引入和动态引入的区别
- 一个jsp页面引入另一个jsp页面的三种方式 及静态引入和动态引入的区别
- 一个jsp页面引入另一个jsp页面的三种方式 及静态引入和动态引入的区别
- JavaScript设计模式读后感
- HDU - 2069 - Coin Change
- U盘安装CentOS 7.0图文详解教程
- 对Hibernate的理解
- Android - AlarmManager设置闹钟
- 一个公共的common.jsp,使用Bootstrap所需的引入内容
- leecode 解题总结:106. Construct Binary Tree from Inorder and Postorder Traversal
- Nodejs 实现天气的查询
- ListView头布局setPadding无效解决方法
- 【Unity编程】下载和安装Unity
- toString方法讲解
- 【Unity编程】官方资源介绍
- 在Windows上和Linux上安装xdebug
- maven不能设置为web3.0