java.lang.Object
org.apache.struts.action.Action
org.acs.damsel.client.search.SearchAction
- public class SearchAction
- extends org.apache.struts.action.Action
This checks for a keyword input. If a keyword is provided, the user is
forwarded to the search results page, otherwise he/she is redirected to the
search page where an error is generated.
| 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, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchAction
public SearchAction()
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping actionMapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
- Description copied from class:
org.apache.struts.action.Action
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it),
with provision for handling exceptions thrown by the business logic.
Return an org.apache.struts.action.ActionForward instance describing where and how
control should be forwarded, or null if the response
has already been completed.