如何创建:http://huxiaoheihei.iteye.com/blog/1766986遇到的问题:1: 如果spring MVC配置了 dispatcher org.springframework.web.servlet.DispatcherServlet c...
分类:
Web程序 时间:
2014-09-27 19:26:50
阅读次数:
242
INFO: Initializing Spring root WebApplicationContextINFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization ...
分类:
编程语言 时间:
2014-09-27 19:26:00
阅读次数:
249
web.xml: ssh addUser.jsp org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationC...
分类:
其他好文 时间:
2014-09-26 19:26:58
阅读次数:
279
Spring配置文件详解 – applicationContext.xml文件路径Java编程 spring的配置文件applicationContext.xml的默认地址在WEB-INF下,只要在web.xml中加入代码12345org.springframework.web.context.Co...
分类:
移动开发 时间:
2014-09-26 18:24:48
阅读次数:
249
1.web.xml的配置 contextConfigLocation classpath:/config/jdbc.xml org.springframework.web.context.ContextLoaderListener encodingFilter ...
分类:
编程语言 时间:
2014-09-26 14:16:18
阅读次数:
6522
值的传递分为从页面传到到controller和从controller传递到页面,下面分别进行介绍: package com.springmvc.web;import java.util.Map;import org.springframework.stereotype.Controller;imp....
分类:
编程语言 时间:
2014-09-26 01:27:28
阅读次数:
301
spring mvc 报错:failed to lazily initialize a collection of role在web.xml添加openSessionInViewFilterorg.springframework.orm.hibernate4.support.OpenSessionI...
分类:
其他好文 时间:
2014-09-25 15:54:49
阅读次数:
142
一.利用BaseController 方式处理定义BaseController 如下: package com.ly.jxc.controller;import org.springframework.stereotype.Controller;import freemarker.ext.bean....
分类:
编程语言 时间:
2014-09-25 15:10:19
阅读次数:
245
org.springframework.beans.factory.NoSuchBeanDefinitionException:Nobeannamed‘sessionFactory‘isdefined这个问题发生的很突然,网上各种找都是说没有配置啊,没有加载啊,没有~~~~~其实我这个原因是myeclipse有缓存了,具体解决方法:点解工具栏Project->Clean,默认点选Cleana..
分类:
系统相关 时间:
2014-09-25 12:50:29
阅读次数:
201
错误日志:2014-09-24 10:50:16 [org.springframework.context.support.FileSystemXmlApplicationContext]-[INFO] Refreshing org.springframework.context.support.F...
分类:
编程语言 时间:
2014-09-24 15:53:27
阅读次数:
470