SSM框架中jsp引入bootstrap路径使用${pageContext.request.contextPath}或者<%=request.getContextPath()%>无效,浏览器控制台报错bootstrap404
搜索到在springmvc.xml中添加<mvc:default-servlet-handler/>,添加后仍不起作用
最后在web.xml中添加url-pattern解决
SSM框架中jsp引入bootstrap路径使用${pageContext.request.contextPath}或者<%=request.getContextPath()%>无效,浏览器控制台报错bootstrap404
搜索到在springmvc.xml中添加<mvc:default-servlet-handler/>,添加后仍不起作用
最后在web.xml中添加url-pattern解决