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