KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nemesis > forum > webapp > admin > action > FramesetAction


1 package org.nemesis.forum.webapp.admin.action;
2
3 import javax.servlet.http.HttpServletRequest JavaDoc;
4 import javax.servlet.http.HttpServletResponse JavaDoc;
5
6 import org.apache.commons.logging.Log;
7 import org.apache.commons.logging.LogFactory;
8 import org.apache.struts.action.ActionForm;
9 import org.apache.struts.action.ActionForward;
10 import org.apache.struts.action.ActionMapping;
11
12
13
14 public class FramesetAction extends BaseAction {
15
16     static protected Log log =LogFactory.getLog(FramesetAction.class);
17
18     public ActionForward execute(ActionMapping mapping,
19                  ActionForm form,
20                  HttpServletRequest JavaDoc request,
21                  HttpServletResponse JavaDoc response)
22     throws Exception JavaDoc {
23
24         //check logon
25
checkUser(request);
26         
27         return mapping.findForward("view");
28     }
29     
30 }
Popular Tags