public abstract class TilesAction extends Action
Constructor and Description |
---|
TilesAction() |
Modifier and Type | Method and Description |
---|---|
ActionForward |
execute(ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Original Struts Action's method.
|
ActionForward |
execute(ComponentContext context,
ActionMapping mapping,
ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request and create the corresponding HTTP
response (or forward to another web component that will create it),
with provision for handling exceptions thrown by the business logic.
|
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public ActionForward execute(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
execute
in class Action
mapping
- The ActionMapping used to select this instance.form
- The optional ActionForm bean for this request (if any).request
- The HTTP request we are processing.response
- The HTTP response we are creating.null
if the response has been completed.Exception
- if the application business logic throws
an exceptionpublic ActionForward execute(ComponentContext context, ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
context
- The current Tile context, containing Tile attributes.mapping
- The ActionMapping used to select this instance.form
- The optional ActionForm bean for this request (if any).request
- The HTTP request we are processing.response
- The HTTP response we are creating.Exception
- if the application business logic throws
an exceptionCopyright © 2000–2016 Apache Software Foundation. All rights reserved.