01: /*
02: * Created on Jan 28, 2004
03: *
04: * To change the template for this generated file go to
05: * Window - Preferences - Java - Code Generation - Code and Comments
06: */
07: package org.vfny.geoserver.action;
08:
09: import com.sun.media.jai.util.SunTileCache;
10: import org.apache.struts.action.ActionForm;
11: import org.apache.struts.action.ActionForward;
12: import org.apache.struts.action.ActionMapping;
13: import org.vfny.geoserver.global.GeoServer;
14: import org.vfny.geoserver.global.UserContainer;
15: import javax.servlet.ServletContext;
16: import javax.servlet.http.HttpServletRequest;
17: import javax.servlet.http.HttpServletResponse;
18:
19: /**
20: * Admin Index Action.
21: * <p>
22: * DOCUMENT ME.
23: * </p>
24: * @author $Author: Alessio Fabiani $ (last modification)
25: */
26: public class ConfigIndexAction extends ConfigAction {
27: /* (non-Javadoc)
28: * @see org.vfny.geoserver.action.ConfigAction#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, org.vfny.geoserver.global.UserContainer, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
29: */
30: public ActionForward execute(ActionMapping mapping,
31: ActionForm form, UserContainer user,
32: HttpServletRequest request, HttpServletResponse response)
33: throws Exception {
34: ServletContext sc = request.getSession().getServletContext();
35:
36: // return back to the admin screen
37: //
38: return mapping.findForward("config.main");
39: }
40: }
|