From: Brad <bra...@us...> - 2005-10-20 00:40:56
|
Update of /cvsroot/archive-access/archive-access/projects/wayback/src/java/org/archive/wayback In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12804/src/java/org/archive/wayback Modified Files: ReplayUI.java QueryUI.java Log Message: Major UI Overhaul: Moved templates up to top of webapp Created css, images directories, moved relevant files into them UI-Header.txt => UI-Header.jsp (now uses ContextPath) UI-Footer.txt => UI-Footer.jsp (now uses ContextPath) added requestform.jsp pages for ReplayUI and QueryUI ReplayUI servlet url .../retrieve => .../replay Form in header of all Query/Error pages now works WMRequest Parsing: WMRequest now can parse Replay or Query requests with arguments encoded as CGI parameters. If the filter did not already parse the request, then an attemp is made with the WMRequest CGI parameter parsing... This allows for direct CGI GET requests to the individual servlets, making the requestform.jsp FORMs possible. Timestamp: added static method to construct a "current" Timestamp. Index: QueryUI.java =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wayback/src/java/org/archive/wayback/QueryUI.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** QueryUI.java 19 Oct 2005 01:22:37 -0000 1.2 --- QueryUI.java 20 Oct 2005 00:40:41 -0000 1.3 *************** *** 145,147 **** --- 145,163 ---- final HttpServletRequest request, final HttpServletResponse response) throws IOException, ServletException; + + /** + * Return an error page tot he User indicating that an unexpected error + * occurred. + * + * @param wmRequest + * @param request + * @param response + * @param message + * @throws IOException + * @throws ServletException + */ + public void showWaybackException(WMRequest wmRequest, + HttpServletRequest request, HttpServletResponse response, + String message) throws IOException, ServletException; + } Index: ReplayUI.java =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wayback/src/java/org/archive/wayback/ReplayUI.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ReplayUI.java 19 Oct 2005 01:22:37 -0000 1.2 --- ReplayUI.java 20 Oct 2005 00:40:41 -0000 1.3 *************** *** 66,71 **** /** ! * Process a Wayback Replay request, returning the resource requested, a ! * redirect to a better/correct URL for the resource, or an error message. * * @param wayback --- 66,72 ---- /** ! * Process a Wayback Replay request, returning the resource requested to ! * the User, a redirect to a better/correct URL for the resource, or an ! * error message. * * @param wayback *************** *** 144,146 **** --- 145,163 ---- final HttpServletResponse response, final String message) throws IOException, ServletException; + + /** + * Return an error page tot he User indicating that an unexpected error + * occurred. + * + * @param wmRequest + * @param request + * @param response + * @param message + * @throws IOException + * @throws ServletException + */ + public void showWaybackException(WMRequest wmRequest, + HttpServletRequest request, HttpServletResponse response, + String message) throws IOException, ServletException; + } |