lz可以从 AdminLoginAction.java:42 先从这行入手找问题!
没有看到你的代码,不好下判断!
没有看到你的代码,不好下判断!
解决方案 »
- tomcat正常启动,页面无法打开,显示404错误。
- Eclipse web项目右键Properties找不到JEE Module Dependencies选项!!
- 如何将一个模块跟系统之间非常松耦合,用一个开关就可以控制是否插入?
- http status 405 錯誤
- 现在学什么框架比较好啊?请高手指导下
- hibernate 求一个分页的类
- struts中helloword级别的问题
- 要用jbuilder做一个web service 其中用到连接MYSQL ,希望大家能帮助我
- J2EE和.Net成本大比拼!
- 在RMI-IIOP中怎么实现类似Corba中的Callback功能
- 使用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>