<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<c:set var="webRoot" value="<%=basePath%>" />

posted on 2014-06-10 09:01  竹林后生  阅读(258)  评论(0编辑  收藏  举报