From: Sandy M. <san...@us...> - 2004-03-19 20:28:36
|
Update of /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23705 Modified Files: ActionsUtil.java LoginAction.java Log Message: Removed old unneeded method that added no cache headers Index: LoginAction.java =================================================================== RCS file: /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/actions/LoginAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LoginAction.java 23 Feb 2004 01:05:34 -0000 1.3 --- LoginAction.java 19 Mar 2004 20:18:33 -0000 1.4 *************** *** 81,85 **** */ public ActionForward execute(final ActionMapping mapping, final ActionForm form, final HttpServletRequest request, final HttpServletResponse response) throws Exception { - ActionsUtil.addNoCacheHeaders(response); // XXX: Yea, this is could be done better. try { --- 81,84 ---- Index: ActionsUtil.java =================================================================== RCS file: /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/actions/ActionsUtil.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ActionsUtil.java 19 Mar 2004 20:15:46 -0000 1.4 --- ActionsUtil.java 19 Mar 2004 20:18:33 -0000 1.5 *************** *** 694,707 **** } - /** - * Adds headers to the response directing the browser or any proxies/caches - * to not cache the current page. - * - * @param response the response for the current request. - */ - static void addNoCacheHeaders(final HttpServletResponse response) { - //response.addHeader("Cache-Control", "no-store"); - //response.addHeader("Pragma", "no-cache"); - //response.addDateHeader("Expires", System.currentTimeMillis()); - } } --- 694,696 ---- |