BeanAction
来源:互联网 发布:旅行者一号 知乎 编辑:程序博客网 时间:2024/05/29 13:59
public abstract class AbstractBean extends BaseBean implements Serializable ...{
/** *//**
* Method validate
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) ...{
return null;
}
private ActionContext getActionContext() ...{
return ActionContext.getActionContext();
}
protected HttpServletRequest getRequest() ...{
return getActionContext().getRequest();
}
protected HttpServletResponse getResponse() ...{
return getActionContext().getResponse();
}
protected HttpSession getSession() ...{
return getRequest().getSession();
}
protected ServletContext getServletContext() ...{
return getServletConfig().getServletContext();
}
protected ServletConfig getServletConfig() ...{
return servlet.getServletConfig();
}
}
/** *//**
* Method validate
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) ...{
return null;
}
private ActionContext getActionContext() ...{
return ActionContext.getActionContext();
}
protected HttpServletRequest getRequest() ...{
return getActionContext().getRequest();
}
protected HttpServletResponse getResponse() ...{
return getActionContext().getResponse();
}
protected HttpSession getSession() ...{
return getRequest().getSession();
}
protected ServletContext getServletContext() ...{
return getServletConfig().getServletContext();
}
protected ServletConfig getServletConfig() ...{
return servlet.getServletConfig();
}
}
- BeanAction
- BeanAction FAQ
- iBatis的JpetStore示例中MVC机制实现的研究,BeanAction,BaseBean
- iBatis的JpetStore示例中MVC机制实现的研究,BeanAction,BaseBean
- iBatis的JpetStore示例中MVC机制实现的研究,BeanAction,BaseBean
- 一场别开生面的开源opening
- MyEclipse应用
- 特殊的日子
- java.io.IOException: Corrupt form data: premature ending
- 我有个小问题,请大家帮忙解决
- BeanAction
- 周爱民对于程序员的技术发展和职业规划给大家的一些建议
- 字符串指针与字符数组
- 世界近代三大数学难题之一费马定理http://lm2000i.bokee.com/viewdiary.12187540.html
- 专家推荐:学习Linux的九条忠告
- 费马大定理http://baike.baidu.com/view/124599.htm
- Forward Declarations
- 关于ResultSet can not re-read row data for column 2 错误及其原因
- 使用 Linux 系统调用的内核命令