1 25 26 package org.objectweb.jonas.webapp.jonasadmin.deploy; 27 28 import javax.servlet.ServletException ; 29 import javax.servlet.http.HttpServletRequest ; 30 import javax.servlet.http.HttpServletResponse ; 31 32 import org.apache.struts.action.ActionForm; 33 import org.apache.struts.action.ActionForward; 34 import org.apache.struts.action.ActionMapping; 35 36 40 public class EditUploadAction extends BaseDeployAction { 41 42 51 52 public ActionForward executeAction(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest request, 53 HttpServletResponse response) throws ServletException { 54 55 String sForward = "Upload"; 56 try { 57 setCurrentJonasDeployment(request); 59 UploadForm uForm = (UploadForm) actionForm; 60 uForm.setIsDomain(isDomain()); 61 } catch (Throwable t) { 62 addGlobalError(t); 63 saveErrors(request, m_Errors); 64 return (actionMapping.findForward("Global Error")); 65 } 66 return (actionMapping.findForward(sForward)); 68 } 69 } 70 | Popular Tags |