raw.jsp revision 1186
919N/ASee LICENSE.txt included in this distribution for the specific
919N/Afile and include the License file at LICENSE.txt.
688N/Ainclude file="pageconfig.jspf"
688N/A cfg = PageConfig.get(request);
688N/A String redir = cfg.canProcess();
688N/A if (redir == null || redir.length() > 0) {
688N/A response.sendRedirect(redir);
688N/A File f = cfg.getResourceFile();
688N/A String revision = cfg.getRequestedRevision();
688N/A if (revision.length() == 0) {
688N/A long flast = cfg.getLastModified();
688N/A if (request.getDateHeader("If-Modified-Since") >= flast) {
688N/A String mimeType = getServletContext().getMimeType(f.getAbsolutePath());
688N/A response.setContentType(mimeType);
688N/A response.setHeader("content-disposition", "attachment; filename="
688N/A OutputStream o = response.getOutputStream();