首页 > 其他 > 详细

${basePath}

时间:2017-03-08 16:42:37      阅读:249      评论:0      收藏:0      [点我收藏+]

<%@ page isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("basePath",basePath);
%> 



<script  src="${basePath }js/jquery-easyui-1.4/jquery.min.js"></script>

<link href="${basePath}images/favicon.ico" rel="shortcut icon">

<link rel="stylesheet" type="text/css" href="${basePath }js/jquery-easyui-1.4/themes/default/easyui.css">

<script type="text/javascript" src="${basePath }js/jquery-easyui-1.4/jquery.easyui.min.js"></script>

<link rel="stylesheet" type="text/css" href="${basePath }js/jquery-easyui-1.4/themes/icon.css">


本文出自 “学的不仅是技术,更是梦想” 博客,请务必保留此出处http://wyshnc.blog.51cto.com/10221879/1904253

${basePath}

原文:http://wyshnc.blog.51cto.com/10221879/1904253

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