Class ActionMgr
java.lang.Object
fc.web.servlet.ActionMgr
-
Method Summary
Modifier and TypeMethodDescriptionfinal voidRegisters an action.voidhandleWebRequest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Handles a request from a web client.toString()
-
Method Details
-
addAction
-
handleWebRequest
public void handleWebRequest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws Exception Handles a request from a web client. Expects certain parameters to be present in the specified HttpServletRequest. The main parameter needed by this method is:
Various actions expect action-specific parameters via the request object parameter. This parameters can be set programatically or via the web client and optionally, actions can also return results via setting them in the request object. The documentation for each action method should give more detail.- Param name:act
Param value: A case-insenstive class name of theActionclass that will be invoked (for example: "showdir"). Case is not important but using all lower case names will save a few machine cycles. This should match the name with which a particular action object was constructed.
- Throws:
Exception- if the action parameter is missing or not understood
- Param name:act
-
toString
-