| web.struts.ActionExtend dlog4j.action.DlogActionBase
All known Subclasses: dlog4j.action.DlogMessageAction, dlog4j.action.DlogTrackBackAction, dlog4j.action.DlogUploadAction, dlog4j.action.DlogLogAction, dlog4j.action.AdminActionBase, dlog4j.action.DlogSearchAction, dlog4j.action.DlogUserAction,
DlogActionBase | abstract public class DlogActionBase extends ActionExtend (Code) | | DLOG项目的基础Action类
author: Liudong |
close | public static void close(Object obj1, Object obj2)(Code) | | 一般用于释放数据库资源,例如 close(ps,conn);
Parameters: obj1 - Parameters: obj2 - |
close | public static void close(Object obj1, Object obj2, Object obj3)(Code) | | 一般用于释放数据库资源,例如 close(rs,ps,conn);
Parameters: obj1 - Parameters: obj2 - Parameters: obj3 - |
close | public static void close(Object obj)(Code) | | 资源释放
Parameters: obj - |
closeSession | protected void closeSession(Session session) throws SQLException, HibernateException(Code) | | 关闭session
Parameters: session - throws: SQLException - throws: HibernateException - |
commitSession | protected void commitSession(Session session, boolean close) throws SQLException, HibernateException(Code) | | 提交Hibernate操作
Parameters: session - throws: SQLException - throws: HibernateException - |
execute | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code) | | 该方法覆盖了父类的功能,主要是为了resin 3.0.x的兼容性做了改进
对于其他应用服务器并没有影响,同时统一了formbean的自动validate功能
要求所有的action都必须关闭自动validate功能,而在此处进行统一处理
Action类执行入口
|
Methods inherited from web.struts.ActionExtend | protected ActionForward callActionMethod(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res, String methodName, String value) throws Exception(Code)(Java Doc) protected void close(ResultSet rs, Statement stmt, Connection conn)(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse res) throws Exception(Code)(Java Doc) protected Connection getConnection() throws SQLException(Code)(Java Doc) protected Connection getConnection(String key) throws SQLException(Code)(Java Doc) public static void main(String args)(Code)(Java Doc) protected boolean paramMapping(String method)(Code)(Java Doc)
|
|
|