com.ivata.mask.web.demo.struts
Class LoadDataAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.ivata.mask.web.demo.struts.LoadDataAction

public class LoadDataAction
extends org.apache.struts.action.Action

If you have no data in your Http Session, you are redirected here to create some.

Since:
ivata masks 0.1 (2004-04-30)
Version:
$Revision: 1.8 $
Author:
Colin MacLeod colin.macleod@ivata.com

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
LoadDataAction()
           
 
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)
           Generic method called by the Struts interface.
 
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

LoadDataAction

public LoadDataAction()
Method Detail

execute

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

Generic method called by the Struts interface. Always returns success. .

Parameters:
mapping - The ActionMapping used to select this instance
form - The optional ActionForm bean for this request (if any)
request - The non-HTTP request we are processing
response - The non-HTTP response we are creating
Returns:
this method returns a "success" ActionForward every time.
Throws:
java.lang.Exception - if the application business logic throws an exception


Copyright © 2001-2005 ivata limited. All Rights Reserved.