HtmlSettersAction (Struts Apps - Struts EL Exercise 1.3.10 API)

Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts.webapp.el.exercise
Class HtmlSettersAction

    java.lang.Object
      org.apache.struts.action.Action
          org.apache.struts.webapp.el.exercise.HtmlSettersAction

    public class HtmlSettersAction

extends Action

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: 471754 $ $Date: 2004-12-08 00:11:35 -0500 (Wed, 08 Dec 2004) $
Author:
  Craig R. McClanahan

Field Summary

Fields inherited from class org.apache.struts.action.Action
`servlet`

Constructor Summary
`HtmlSettersAction()`

Method Summary
`ActionForward` | `execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)` Forward to the input form if "Save" was pressed or the main menu if "Cancel" was pressed.

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`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HtmlSettersAction

    public HtmlSettersAction()

Method Detail

### execute

    public ActionForward execute(ActionMapping mapping,
                                 ActionForm form,
                                 HttpServletRequest request,
                                 HttpServletResponse response)
                          throws Exception

  Forward to the input form if "Save" was pressed or the main menu if "Cancel" was pressed.

  Overrides:
    `execute` in class `Action`
  Parameters:
    `mapping` - The ActionMapping used to select this instance
    `actionForm` - The optional ActionForm bean for this request
    `request` - The servlet request we are processing
    `response` - The servlet response we are creating
  Throws:
    `Exception` - if business logic throws an exception

Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.