KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nextime > ion > backoffice > action > content > ContentManagementAction


1 package org.nextime.ion.backoffice.action.content;
2
3
4 import java.io.IOException JavaDoc;
5
6 import javax.servlet.ServletException JavaDoc;
7 import javax.servlet.http.HttpServletRequest JavaDoc;
8 import javax.servlet.http.HttpServletResponse JavaDoc;
9 import org.apache.struts.action.ActionForm;
10 import org.apache.struts.action.ActionForward;
11 import org.apache.struts.action.ActionMapping;
12 import org.nextime.ion.backoffice.action.BaseAction;
13
14
15
16 public class ContentManagementAction extends BaseAction {
17
18     public ActionForward perform(ActionMapping mapping,
19                                  ActionForm form,
20                                  HttpServletRequest JavaDoc request,
21                                  HttpServletResponse JavaDoc response)
22         throws IOException JavaDoc, ServletException JavaDoc {
23             
24         // check if user is correctly logged
25
checkUser(request);
26         
27         // Forward back to the test page
28
return (mapping.findForward("view"));
29
30     }
31
32 }
33
Popular Tags