|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.codelabor.system.web.struts.action.BaseDispatchAction
org.codelabor.system.file.web.struts.action.FileUploadAction
public class FileUploadAction
파일 업로드 Action
Field Summary |
---|
Fields inherited from class org.codelabor.system.web.struts.action.BaseDispatchAction |
---|
logger |
Fields inherited from class org.apache.struts.actions.DispatchAction |
---|
clazz, log, methods, types |
Fields inherited from class org.apache.struts.actions.BaseAction |
---|
messages |
Fields inherited from class org.apache.struts.action.Action |
---|
servlet |
Constructor Summary | |
---|---|
FileUploadAction()
생성자 |
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse args)
파일을 삭제한다. |
org.apache.struts.action.ActionForward |
list(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
파일 목록을 가져온다. |
org.apache.struts.action.ActionForward |
read(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
파일 정보를 가져온다. |
protected FileDTO |
saveFile(RepositoryType repositoryType,
java.lang.String mapId,
org.apache.struts.upload.FormFile formFile)
파일을 저장한다. |
protected java.util.List<FileDTO> |
saveFile(RepositoryType repositoryType,
java.lang.String mapId,
java.util.List<org.apache.struts.upload.FormFile> formFileList)
파일을 저장한다. |
org.apache.struts.action.ActionForward |
upload(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
파일을 업로드 한다. |
org.apache.struts.action.ActionForward |
view(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.actions.DispatchAction |
---|
cancelled, dispatchMethod, execute, getMethod, getMethodName, getParameter, unspecified |
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 |
---|
public FileUploadAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward list(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
mapping
- 액션 매핑form
- 액션 폼request
- 요청response
- 응답
java.lang.Exception
- 예외public org.apache.struts.action.ActionForward read(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
mapping
- 액션 매핑form
- 액션 폼request
- 요청response
- 응답
java.lang.Exception
- 예외public org.apache.struts.action.ActionForward upload(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
mapping
- 액션 매핑form
- 액션 폼request
- 요청response
- 응답
java.lang.Exception
- 예외protected FileDTO saveFile(RepositoryType repositoryType, java.lang.String mapId, org.apache.struts.upload.FormFile formFile) throws java.lang.Exception
repositoryType
- 파일 저장 방식mapId
- Map IdformFile
- 폼 파일
java.lang.Exception
- 예외protected java.util.List<FileDTO> saveFile(RepositoryType repositoryType, java.lang.String mapId, java.util.List<org.apache.struts.upload.FormFile> formFileList) throws java.lang.Exception
repositoryType
- 파일 저장 방식mapId
- Map IdformFileList
- Form File List
java.lang.Exception
- 예외public org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse args) throws java.lang.Exception
mapping
- 액션 매핑form
- 액션 폼request
- 요청args
- 응답
java.lang.Exception
- 예외public org.apache.struts.action.ActionForward view(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
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |