common.jsp
<%
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();
request.setAttribute("basePath", basePath);
%>
页面引用
link rel="stylesheet" type="text/css" href="${basePath}/css/jquery.validate.css"
网友评论