你的spring配置文件是如何加载的?
解决方案 »
- 请教高手,myeclipse上的项目有个大红X,怎么解决
- sql2005新手请教如何利用外键实现一对多的关系
- 访问JSP使用WINNT域帐户验证
- 数据库的访问 方式
- 求助:mysql数据库Parameter metadata not available for the given statement
- 问大家,我用DWR做了一个连动菜单,为什么在火狐浏览器里不好用????
- 请问各位:在实际的J2EE项目中,你们都用CMP的实体Bean,还是BMP型的?为什么?
- java项目的ROOT转移到linux环境下测试时,从applicationContext.xml文件中解析Bean 报错
- 请教各位大侠关于使用RMI中出现的错误:java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception
- 对dom进行修改后输出到xml文件时的问题
- java可以做个刷卡系统吗
- spring中使用JNDI数据源出错
userAddService.setUserPO(userPO) ;
userAddService.execute() ;
===============================
spring的ioc很简单的理解就是在你的方法里不再有new。
你在action中还new service层的类。
难道你真的用到了spring?
你的业务层没有注入到action中.
private IUserAddService userAddService ;没有set方法.