1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service.container; 27 28 import java.io.IOException ; 29 30 import javax.servlet.ServletException ; 31 import javax.servlet.http.HttpServletRequest ; 32 import javax.servlet.http.HttpServletResponse ; 33 34 import org.apache.struts.action.ActionForm; 35 import org.apache.struts.action.ActionForward; 36 import org.apache.struts.action.ActionMapping; 37 38 41 42 public class EditWebAppAction extends BaseWebAppAction { 43 44 46 public ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form 47 , HttpServletRequest p_Request, HttpServletResponse p_Response) 48 throws IOException , ServletException { 49 50 String sForward = null; 51 if (m_WhereAreYou.isCatalinaServer() == true) { 53 sForward = "ActionEditWebAppCatalina"; 54 } 55 else if (m_WhereAreYou.isJettyServer() == true) { 56 sForward = "ActionEditWebAppJetty"; 57 } 58 return (p_Mapping.findForward(sForward)); 60 } 61 62 64 } 65 | Popular Tags |