css的地址没用jsp的写法去写。比如你html写的css地址是但是你写在JSP里要写成其中basePath是MyEclipse JSP模板里面提供的值<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>