1 package pl.agh.iosr.ballamigos.webapp.actions;
2
3 import javax.servlet.http.HttpServletRequest;
4 import javax.servlet.http.HttpServletResponse;
5
6 import org.apache.struts.action.Action;
7 import org.apache.struts.action.ActionForm;
8 import org.apache.struts.action.ActionForward;
9 import org.apache.struts.action.ActionMapping;
10
11 /***A struts action class used to redirect the player to some secure content. This action is used when
12 * the password and login provided by the user prove to be correct.
13 *
14 * @author Piotr
15 *
16 */
17 public class SubmitPlayerInfoAction extends BallAmigosAction {
18
19 public ActionForward execute(ActionMapping mapping,
20 ActionForm form,
21 HttpServletRequest request,
22 HttpServletResponse response)
23 throws Exception {
24 return(mapping.findForward("success"));
25 }
26 }