lz可以从 AdminLoginAction.java:42 先从这行入手找问题!
没有看到你的代码,不好下判断!
没有看到你的代码,不好下判断!
解决方案 »
- Hibernate 自动生成SQL语句问题
- 大牛帮看下有关线程安全的问题
- 新手问题,怎么动态装载类库及调用类中的方法?
- 帮帮忙,谢谢大家,一道小题
- eclipse右键菜单run xdoclet是灰色的,谁知道怎么搞定?
- 我是初学都,希望各位大人物们到这之后请留住你的“脚步”看一下我的题!!!
- 高分求助:hibernate 查询的问题
- hibernate 中为什么生成的 insert 语句总是少了一个 test_id 字段?
- 问:J2EE和.NET在WebService方面各是一个什么样的状况。
- 容器维护持续性的session bean里面用到了两个数据库,总出错怎么办?
- 使用Socket通信的java程序
- 请问有没有非开源的像googlecode那样的项目托管平台?
public class AdminLoginAction extends ActionSupport {
private String username;
private String password;
private AdminUserControl adUserControl; public String getUsername() {
return username;
} public void setUsername(String username) {
this.username = username;
} public String getPassword() {
return password;
} public void setPassword(String password) {
this.password = password;
} public AdminUserControl getAdminUserControl() {
return adUserControl;
} public void setAdminUserControl(AdminUserControl adminUserControl) {
this.adUserControl = adminUserControl;
} @Override
public String execute() throws Exception {
Map session = ActionContext.getContext().getSession();
boolean returnCode = adUserControl.validNamandPass(username, password);= = = = = = = = = = = = = = = =
<bean id="adUserDao" class="com.org.dao.hibernate.AdminUserDaoHibernate">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<bean id="adUserControl" class="com.org.service.imp1.AdminUserControlImp1">
<property name="adUserDao" ref="adUserDao"></property>
</bean>