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 | { |
||
1074 | dev | 21 | // FIXME: show progress bar |
936 | dev | 22 | Logic.getLogic().buildCache(); |
23 | |||
24 | return mapping.findForward("success"); |
||
25 | } |
||
26 | } |