Subversion Repositories general

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
936 dev 1
package ak.photoalbum.webapp;
2
 
3
import java.util.List;
4
import javax.servlet.http.HttpServletRequest;
5
import javax.servlet.http.HttpServletResponse;
6
import org.apache.struts.action.Action;
7
import org.apache.struts.action.ActionMapping;
8
import org.apache.struts.action.ActionForm;
9
import org.apache.struts.action.ActionForward;
10
import org.apache.log4j.Logger;
11
 
12
public final class BuildCacheAction
13
  extends Action
14
{
15
  private static final Logger logger = Logger.getLogger(IndexAction.class);
16
 
17
  public ActionForward execute(ActionMapping mapping, ActionForm form,
18
     HttpServletRequest request, HttpServletResponse response)
19
    throws Exception
20
  {
21
    Logic.getLogic().buildCache();
22
 
23
    return mapping.findForward("success");
24
  }
25
}