java-项目中无法访问js、css等静态资源
摘要:解决方法:在mvc.xml配置文件中增加如下配置 如果增加<mvc:default-servlet-handler/> 后无法访问controller,需要增加<mvc:annotation-driven/> <!-- 需要添加该配置 --> <mvc:annotation-driven/> <!-
阅读全文
posted @
2019-04-25 12:53
LJD泊水
阅读(1040)
推荐(0) 编辑
java-新建简单的Web项目
摘要:参考链接: https://www.cnblogs.com/silentdoer/articles/7134332.html web.xml: springmvc.xml: index.jsp: Tomcat启动报错: Failed to start component [StandardEngin
阅读全文
posted @
2019-04-24 15:26
LJD泊水
阅读(950)
推荐(0) 编辑
Spring4相关jar包介绍(转)
摘要:Spring4相关jar包介绍 spring-core.jar(必须):这个jar 文件包含Spring 框架基本的核心工具类。Spring 其它组件要都要使用到这个包里的类,是其它组件的基本核心,当然你也可以在自己的应用系统中使用这些工具类。 外部依赖Commons Logging, (Log4J
阅读全文
posted @
2018-03-20 11:49
LJD泊水
阅读(172)
推荐(0) 编辑