张志峰的博客

水滴石川,积少成多。

导航

随笔分类 -  java web.xml

摘要:http://my.oschina.net/u/1383439/blog/224448http://blog.csdn.net/guihaijinfen/article/details/8363839 阅读全文

posted @ 2015-12-28 17:36 ╰★张志峰★╮ 阅读(164) 评论(0) 推荐(0)

摘要:struts2错误:The Struts dispatcher cannot be found.The Struts dispatcher cannot be found. This is usually caused by using Strutstags without the associat... 阅读全文

posted @ 2015-02-10 10:33 ╰★张志峰★╮ 阅读(406) 评论(0) 推荐(0)

摘要:spring的应用初始化流程一直没有搞明白,刚刚又碰到了相关的问题。决定得好好看看这个流程。我们在开发spring的项目当中基本上都会在web.xml通过: contextConfigLocation /WEB-INF/conf/application-*... 阅读全文

posted @ 2015-01-30 11:29 ╰★张志峰★╮ 阅读(257) 评论(0) 推荐(0)

摘要:在web.xml中通过contextConfigLocation配置spring,contextConfigLocation 参数定义了要装入的 Spring 配置文件。如果想装入多个配置文件,可以在 标记中用逗号作分隔符。如果在web.xml里指定要加载的xml,如:xml代码如下: ... 阅读全文

posted @ 2015-01-30 11:23 ╰★张志峰★╮ 阅读(249) 评论(0) 推荐(0)