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 import org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction; 38 import org.objectweb.jonas.webapp.jonasadmin.WhereAreYou; 39 40 46 47 public class ViewContainerAction extends JonasBaseAction { 48 49 51 public ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form 52 , HttpServletRequest p_Request, HttpServletResponse p_Response) 53 throws IOException , ServletException { 54 55 ContainerForm oForm = (ContainerForm) m_Session.getAttribute("containerForm"); 57 m_WhereAreYou.selectNameNode(getTreeBranchName(DEPTH_SERVER) + WhereAreYou.NODE_SEPARATOR 58 + "services" + WhereAreYou.NODE_SEPARATOR + "ejbContainers" 59 + WhereAreYou.NODE_SEPARATOR + oForm.getFilename(), true); 60 61 return (p_Mapping.findForward("Container")); 63 } 64 } 65 | Popular Tags |