public abstract class SystemAction extends SHBaseAction
Title: 信息化平台 - 所有system的Model祖先
Description: 首亨软件 - SHForce
Company:首亨软件(重庆)有限公司
Author:江兴春
| 构造器和说明 |
|---|
SystemAction() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
authentication(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户登录认证函数,判断用户是否登录
|
org.apache.struts.action.ActionForward |
errorHandle(int result,
org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
错误处理函数,当authentication函数的返回值不等于0的时候被调用
|
getPageInitscanAccessModule, control, forward, getDataSource, handle, initexecute, getDataSourceNamepublic int authentication(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
authentication 在类中 SHForceActionactionMapping - ActionMapping对象actionForm - ActionForm对象request - HttpServletRequest对象response - HttpServletResponse对象public org.apache.struts.action.ActionForward errorHandle(int result,
org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
errorHandle 在类中 SHForceActionresult - int错误代码,非0时机actionMapping - ActionMapping对象actionForm - ActionForm对象request - HttpServletRequest对象response - HttpServletResponse对象