| java.lang.Object org.apache.struts.action.Action org.apache.struts.webapp.exercise.HtmlSettersAction
HtmlSettersAction | public class HtmlSettersAction extends Action (Code) | | Do-nothing action that accepts the changes made automatically in our form
bean, and then returns control to the input form (if "Save" was pressed)
or the main menu (if "Cancel" was pressed).
version: $Rev: 421488 $ $Date: 2006-07-12 22:43:08 -0500 (Wed, 12 Jul 2006) $ |
execute | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Forward to the input form if "Save" was pressed or the main menu
if "Cancel" was pressed.
Parameters: mapping - The ActionMapping used to select this instance Parameters: form - The optional ActionForm bean for this request Parameters: request - The servlet request we are processing Parameters: response - The servlet response we are creating exception: Exception - if business logic throws an exception |
Methods inherited from org.apache.struts.action.Action | protected void addErrors(HttpServletRequest request, ActionMessages errors)(Code)(Java Doc) protected void addMessages(HttpServletRequest request, ActionMessages messages)(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response) throws Exception(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected String generateToken(HttpServletRequest request)(Code)(Java Doc) protected ActionMessages getErrors(HttpServletRequest request)(Code)(Java Doc) protected Locale getLocale(HttpServletRequest request)(Code)(Java Doc) protected ActionMessages getMessages(HttpServletRequest request)(Code)(Java Doc) protected MessageResources getResources(HttpServletRequest request)(Code)(Java Doc) protected MessageResources getResources(HttpServletRequest request, String key)(Code)(Java Doc) public ActionServlet getServlet()(Code)(Java Doc) protected boolean isCancelled(HttpServletRequest request)(Code)(Java Doc) protected boolean isTokenValid(HttpServletRequest request)(Code)(Java Doc) protected boolean isTokenValid(HttpServletRequest request, boolean reset)(Code)(Java Doc) protected void resetToken(HttpServletRequest request)(Code)(Java Doc) protected void saveErrors(HttpServletRequest request, ActionMessages errors)(Code)(Java Doc) protected void saveErrors(HttpSession session, ActionMessages errors)(Code)(Java Doc) protected void saveMessages(HttpServletRequest request, ActionMessages messages)(Code)(Java Doc) protected void saveMessages(HttpSession session, ActionMessages messages)(Code)(Java Doc) protected void saveToken(HttpServletRequest request)(Code)(Java Doc) protected void setLocale(HttpServletRequest request, Locale locale)(Code)(Java Doc) public void setServlet(ActionServlet servlet)(Code)(Java Doc)
|
|
|