servlet跳转到jsp页面,jsp样式失效怎么解决!
<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> ">在jsp页面中加入这两句,以后只用写图片的路径(imgs/1.jpg)就行了,样式文件路