1 /*
2 MadCaching is a Tile Caching solution
3 Copyright (C) 2005 Mac Vu
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19 package com.macvu.tiles.actions;
20
21 import org.apache.commons.logging.Log;
22 import org.apache.commons.logging.LogFactory;
23 import org.apache.struts.action.ActionForward;
24 import org.apache.struts.action.ActionMapping;
25 import org.apache.struts.action.ActionForm;
26
27 import javax.servlet.http.HttpServletRequest;
28 import javax.servlet.http.HttpServletResponse;
29
30 /***
31 * User: Mac Vu
32 */
33 public class TryCachingJspAction {
34 protected static Log log = LogFactory.getLog(SetCacheTileDefinitionAction.class);
35
36 public ActionForward execute(ActionMapping mapping,
37 ActionForm form,
38 HttpServletRequest request,
39 HttpServletResponse response)
40 throws Exception {
41
42
43 return mapping.findForward("success");
44 }
45 }