1 package enhydraManager.presentation; 2 3 import enhydraManager.spec.*; 4 5 import java.util.Vector ; 7 import java.io.IOException ; 8 9 11 import org.w3c.dom.html.HTMLAnchorElement; 12 import org.w3c.dom.html.HTMLMetaElement; 13 import org.w3c.dom.Node ; 14 import com.lutris.appserver.server.httpPresentation.*; 15 public class ApplicationManager implements HttpPresentation { 16 17 18 19 public void run(HttpPresentationComms comms) throws HttpPresentationException,ClientPageRedirectException, IOException { 20 21 AppManager manager=AppManagerFactory.getManager("enhydraManager.business.AppManagerImpl"); 22 String service=comms.request.getParameter("service"); 23 String host = comms.request.getParameter("host"); 24 String app = comms.request.getParameter("id"); 25 String action = comms.request.getParameter("action"); 26 27 String message=manager.manage(service,host,app,action); 28 29 throw new ClientPageRedirectException( 30 comms.request.getAppFileURIPath("ListPresentation.po?message="+message)); 31 32 33 34 } 35 36 37 38 39 } 40 41 | Popular Tags |