首页 > 代码库 > ${basePath}

${basePath}

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



<script  src="http://www.mamicode.com/${basePath }js/jquery-easyui-1.4/jquery.min.js"></script>

<link href="http://www.mamicode.com/${basePath}images/favicon.ico" rel="shortcut icon">

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

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

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


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

${basePath}