cache flush option
This commit is contained in:
parent
3b6bcafca3
commit
ab3b8690af
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,8 @@ public class AlbumServlet
|
|||
public void doGet(HttpServletRequest req, HttpServletResponse res)
|
||||
throws ServletException, IOException
|
||||
{
|
||||
if (req.getParameter("cacheFlush") != null) imageCache.flush();
|
||||
|
||||
req.setAttribute("assets", req.getContextPath() + "/assets");
|
||||
req.setAttribute("req", req);
|
||||
req.setAttribute("base", req.getContextPath() + req.getServletPath());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue