01: package org.objectweb.jonas.webapp.jonasadmin.monitoring;
02:
03: import java.io.IOException;
04:
05: import javax.servlet.ServletException;
06: import javax.servlet.http.HttpServletRequest;
07: import javax.servlet.http.HttpServletResponse;
08:
09: import org.apache.struts.action.ActionForm;
10: import org.apache.struts.action.ActionForward;
11: import org.apache.struts.action.ActionMapping;
12: import org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction;
13: import org.objectweb.jonas.webapp.jonasadmin.WhereAreYou;
14:
15: public class JoramMemberAction extends JonasBaseAction {
16:
17: public ActionForward executeAction(ActionMapping p_Mapping,
18: ActionForm p_Form, HttpServletRequest p_Request,
19: HttpServletResponse p_Response) throws IOException,
20: ServletException {
21: // Form used
22: WhereAreYou oWhere = (WhereAreYou) p_Request.getSession()
23: .getAttribute(WhereAreYou.SESSION_NAME);
24: String sDomainName = oWhere.getCurrentDomainName();
25:
26: JoramMemberForm oForm = (JoramMemberForm) p_Form;
27: try {
28:
29: } catch (Throwable t) {
30: addGlobalError(t);
31: saveErrors(p_Request, m_Errors);
32: return (p_Mapping.findForward("Global Error"));
33: }
34:
35: // Forward to the jsp.
36: return (p_Mapping.findForward("JoramMember"));
37: }
38: }
|