|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.apache.struts.actions.LookupDispatchAction
net.sf.oness.common.webapp.controller.action.AutoDispatchAction
An abstract Action that dispatches to a method based in the start of the action path.
| Field Summary |
| Fields inherited from class org.apache.struts.actions.LookupDispatchAction |
localeMap |
| Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, log, messages, methods, types |
| Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
| Constructor Summary | |
AutoDispatchAction()
|
|
| Method Summary | |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override the execute method in LookupDispatchAction to parse URLs and forward to methods without parameters. |
java.lang.Object |
getBean(java.lang.String name)
Gets a bean from Spring configuration |
protected java.lang.Object |
getDynaProperty(org.apache.struts.action.ActionForm actionForm,
java.lang.String name)
Get a property value from a DynaActionForm |
java.util.Map |
getKeyMethodMap()
Provides the mapping from resource key to method name. |
| Methods inherited from class org.apache.struts.actions.LookupDispatchAction |
getLookupMapName, getMethodName |
| Methods inherited from class org.apache.struts.actions.DispatchAction |
cancelled, dispatchMethod, getMethod, unspecified |
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, 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 |
public AutoDispatchAction()
| Method Detail |
public java.lang.Object getBean(java.lang.String name)
name - bean name
public java.util.Map getKeyMethodMap()
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
mapping - The ActionMapping used to select this instancerequest - The HTTP request we are processingresponse - The HTTP response we are creatingform - The optional ActionForm bean for this request (if any)
java.lang.Exception - if an error occurs
protected java.lang.Object getDynaProperty(org.apache.struts.action.ActionForm actionForm,
java.lang.String name)
actionForm - a DynaActionFormname - name of the property
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||