public class RandCodeAction extends CommonAction
Description: 注册时产生的随机验证码Action类
Company:首亨软件(重庆)有限公司
Date: 2009-09-14
| 构造器和说明 |
|---|
RandCodeAction() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
authentication(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户登录认证函数,判断用户是否登录
|
SHForceModel |
control(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SHForceExAction action)
Model逻辑处理
|
org.apache.struts.action.ActionForward |
forward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object obj)
页面跳转
|
errorHandlegetPageInitscanAccessModule, getDataSource, handle, initexecute, getDataSourceNamepublic SHForceModel control(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SHForceExAction action)
public org.apache.struts.action.ActionForward forward(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object obj)
public int authentication(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
FrameActionauthentication 在类中 FrameActionactionMapping - ActionMapping对象actionForm - ActionForm对象request - HttpServletRequest对象response - HttpServletResponse对象