首页 > Web开发 > 详细

JSP公用COMMON文件

时间:2016-03-28 15:09:46      阅读:181      评论:0      收藏:0      [点我收藏+]

head.jsp:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="company" value="${applicationScope.company}"/>
<link rel="shortcut icon" href="${ctx}/plugins/yz/web/resources/imgs/yzIco.png" />
<link type="text/css" href="${ctx}/plugins/yz/web/resources/css/yz.css" rel="stylesheet" />
<script type="text/javascript" src="${ctx}/plugins/yz/web/resources/js/contsants.js"></script>
<script type="text/javascript" src="${ctx}/resources/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${ctx}/plugins/yz/web/resources/js/common.js"></script>
<script>
active = "${sessionScope.active}";
ctx = "${ctx}";
</script>

 

JSP公用COMMON文件

原文:http://www.cnblogs.com/zrui-xyu/p/5328867.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!