|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
dea.albums.BaseAction
Field Summary | |
int |
aType
Type of action - lets us know how the servlet was called by the server. |
Display |
display
Get connection to display / log utils |
java.lang.String |
errorURL
URL to go to if Exception caught |
java.lang.String |
nextURL
URL to go to if all goes well |
HttpSession |
session
holds pointer to the current session |
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Fields inherited from interface dea.common.IDebugLevels |
BASIC, DEBUG_ALL, ERROR, METH_DETAIL, METH_ENTER, METH_EXIT, METH_EXT, METH_GET, METH_SET, METH_VARS, SHOW_PASS |
Constructor Summary | |
BaseAction()
|
Method Summary | |
void |
callPage(java.lang.String page,
HttpServletRequest request,
HttpServletResponse response)
Display the output page |
void |
doDelete(HttpServletRequest request,
HttpServletResponse response)
Process the HTTP Delete requests. |
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Process incoming HTTP GET requests. |
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Process incoming HTTP Post requests. |
void |
doPut(HttpServletRequest request,
HttpServletResponse response)
Process the HTTP Put requests. |
java.lang.String |
empty2Null(java.lang.String str)
Process the HTTP Delete requests. |
void |
service(HttpServletRequest request,
HttpServletResponse response)
Process all incoming HTTP requests. |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, 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 |
Field Detail |
public HttpSession session
public java.lang.String nextURL
public java.lang.String errorURL
public int aType
public Display display
Constructor Detail |
public BaseAction()
Method Detail |
public void callPage(java.lang.String page, HttpServletRequest request, HttpServletResponse response)
request
- javax.servlet.http.HttpServletRequestresponse
- javax.servlet.http.HttpServletResponsepublic void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
request
- Object that encapsulates the request to the servletresponse
- Object that encapsulates the response from the servlet
ServletException
java.io.IOException
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
request
- Object that encapsulates the request to the servletresponse
- Object that encapsulates the response from the servlet
ServletException
java.io.IOException
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
request
- Object that encapsulates the request to the servletresponse
- Object that encapsulates the response from the servlet
ServletException
java.io.IOException
public void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public java.lang.String empty2Null(java.lang.String str)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |