<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<link href="<%=basePath %>css/index_1.css" rel="stylesheet" type="text/css" />
<%=basePath %>根路经webroot