org.appfuse.webapp.action
Class UploadAction
java.lang.Object
org.apache.struts.action.Action
org.appfuse.webapp.action.UploadAction
public class UploadAction
- extends Action
This class handles the uploading of a resume (or any file) and writing it to
the filesystem. Eventually, it will also add support for persisting the
files information into the database.
View Source
- Author:
- Matt Raible
- Mapping:
- name="uploadForm" path="/uploadFile" scope="request" validate="true" input="failure"
- ActionForward:
- name="failure" path="/WEB-INF/pages/uploadForm.jsp", name="success" path="/WEB-INF/pages/uploadDisplay.jsp"
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 |
UploadAction
public UploadAction()
execute
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Overrides:
execute
in class Action
- Throws:
Exception
Copyright � 2002-2006