01: package org.claros.mini.actions;
02:
03: import javax.servlet.http.HttpServletRequest;
04: import javax.servlet.http.HttpServletResponse;
05: import org.apache.struts.action.ActionForm;
06: import org.apache.struts.action.ActionForward;
07: import org.apache.struts.action.ActionMapping;
08:
09: import org.claros.commons.mail.models.ConnectionProfileList;
10: import org.claros.mini.common.BaseClarosAction;
11:
12: /**
13: * @version 1.0
14: * @author Umut Gökbayrak
15: */
16: public class LoginAction extends BaseClarosAction {
17:
18: public ActionForward myExecute(ActionMapping mapping,
19: ActionForm form, HttpServletRequest request,
20: HttpServletResponse response) throws Exception {
21: request.setAttribute("connectionProfiles",
22: ConnectionProfileList.getConList());
23: return mapping.findForward("success");
24: }
25: }
|