java.lang.Object
org.apache.struts.action.Action
com.aoindustries.web.struts.PageAction
- Direct Known Subclasses:
AoservStepAction
,ApplicationStepAction
,AuthenticatedAction
,ContactCompletedAction
,DedicatedStepAction
,IndexAction
,LoginAction
,LoginCompletedAction
,ManagedStepAction
,PasswordEvaluatorCompletedAction
,PasswordGeneratorAction
,PermissionDeniedAction
,ResellerStepAction
,SessionTimeoutAction
,SetResourceBundleValueAction
,SystemAdministrationStepAction
,VirtualDedicatedStepAction
,VirtualHostingStepAction
,VirtualManagedStepAction
An action servlet that creates a
page-scope web resource registry
,
if not already present.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ActionForward
execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Creates the page-scope registry, if not already present, then invokesexecute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, com.aoapps.web.resources.registry.Registry)
.execute
(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, Registry pageRegistry) Once the page registry is set resolved, this version of the execute method is invoked.Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
PageAction
public PageAction()
-
-
Method Details
-
execute
public final ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception Creates the page-scope registry, if not already present, then invokesexecute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, com.aoapps.web.resources.registry.Registry)
. The registry if left on the request to be available to any forwarding target. -
execute
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, Registry pageRegistry) throws Exception Once the page registry is set resolved, this version of the execute method is invoked. By default, returns mapping for "success".- Throws:
Exception
-