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 org.apache.struts.action.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
 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)
           
 
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 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
Overrides:
execute in class org.apache.struts.action.Action
Throws:
java.lang.Exception


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