<%@include file="../../comm/init.txt"%><%@ page import="kgweb.bean.UserBean;kgweb.web.Frame;kgweb.comm.*"%><% UserBean actionBean = (UserBean)(Frame.getActionBean(UserBean.class, session, request)); //设置所需要修改密码的用户(既当前登录的用户) actionBean.getTuser().setId(_loginTuser.getId()); ExeEvent exeEvent = new ExeEvent(session, response, _thisFileName+'$'+$ke$sourceLineNumber, "/userpanel/userpsw.htm", actionBean ); //执行 int actionId = actionBean.changePasswordAction(); /*if (actionId >= 0) { //如果数据库更新成功,则同时也要更新session中存储的数据 session.setAttribute("tuser", actionBean.getTuser()); }*/ //自定义事件 exeEvent.addEvent(2, new ExeEventEntry(_thisFileName+'$'+$ke$sourceLineNumber, _bundle.getString("userpanel_servlet_updatepsw_1"), null, 2)); //没有发生错误,则返回信息 exeEvent.addEvent(-99, new ExeEventEntry(_thisFileName+'$'+$ke$sourceLineNumber, _bundle.getString("userpanel_servlet_updatepsw_0"), null, 3)); //自定义错误,表示旧密码不正确 //根据执行结果进行跳转 exeEvent.action(actionId); if (true) return;%><%@include file="../../comm/end.txt"%>