html转jsp部分css不可用
解决方法
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<link href="<%=basePath%>/css/zhuce.css" rel="stylesheet" type="text/css" />
还有就是把index.html的后缀转成jsp,然后把<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>拷贝到index.jsp的头顶