|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
net.sf.jguard.example.struts.actions.BaseAction
public class BaseAction
base action which unifies Actions and DispatchActions with the new ActionDispatcher tips. all actions should extends it.
| Field Summary | |
|---|---|
protected org.apache.struts.actions.ActionDispatcher |
dispatcher
|
| Fields inherited from class org.apache.struts.action.Action |
|---|
servlet |
| Constructor Summary | |
|---|---|
BaseAction()
|
|
| 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)
|
void |
setServlet(org.apache.struts.action.ActionServlet actionServlet)
initialize some stuff (the Spring framework webAppplicationContext or another one). |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.struts.actions.ActionDispatcher dispatcher
| Constructor Detail |
|---|
public BaseAction()
| Method Detail |
|---|
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
execute in class org.apache.struts.action.Actionjava.lang.Exceptionpublic void setServlet(org.apache.struts.action.ActionServlet actionServlet)
setServlet in class org.apache.struts.action.ActionactionServlets -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||