org.apache.struts.webapp.validator
Class ShowFileAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.webapp.validator.ShowFileAction

public class ShowFileAction
extends Action

Action which retrieves a file specified in the parameter and stores its contents in the request, so that they can be displayed.


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
ShowFileAction()
           
 
Method Summary
 ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 
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, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowFileAction

public ShowFileAction()
Method Detail

execute

public ActionForward execute(ActionMapping mapping,
                             ActionForm form,
                             HttpServletRequest request,
                             HttpServletResponse response)
                      throws Exception
Overrides:
execute in class Action
Throws:
Exception


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.