摘要:
web.xml中classpath:和classpath*:有什么区别?classpath:只会到你的class路径中查找找文件;classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找.存放位置:1:src下面需要在web.xml中定义如下:contextConfigLocationclasspath:applicationContext.xml2:WEB-INF下面需要在web.xml中定义如下:contextConfigLocationWEB-INF/applicationContext*.xmlweb.xml通过contextConfigLocatio 阅读全文
posted @ 2014-01-18 10:35
@ 小浩
阅读(2917)
评论(0)
推荐(0)
浙公网安备 33010602011771号