Go to most recent revision | Blame | Last modification | View Log | RSS feed
package ak.photoalbum.webapp;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.log4j.Logger;
public final class BuildCacheAction
extends Action
{
private static final Logger logger = Logger.getLogger(IndexAction.class);
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception
{
Logic.getLogic().buildCache();
return mapping.findForward("success");
}
}