public class BaseAction
extends org.apache.struts.action.Action
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
BaseAction()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method performs the controller logic for a given request.
|
public static final java.lang.String COPYRIGHT
public BaseAction()
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
execute
in class org.apache.struts.action.Action
mapping
- The ActionMapping
for this action and request.form
- The ActionForm
bean for this request.request
- The HTTP
servlet request being processed.response
- The HTTP
response being created.ActionForward
instance describing where and how control should be forwarded.java.lang.Exception
- Thrown by any error that occurs during the processing of the request.
The exception is thrown so the web container runtime can handle it and report a response
back the user who initiated the request.