raw.jsp revision 1186
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"
1186N/A cfg = PageConfig.get(request);
1186N/A String redir = cfg.canProcess();
1186N/A if (redir == null || redir.length() > 0) {
1186N/A response.sendRedirect(redir);
1186N/A File f = cfg.getResourceFile();
1186N/A String revision = cfg.getRequestedRevision();
1186N/A if (revision.length() == 0) {
1186N/A long flast = cfg.getLastModified();
1186N/A if (request.getDateHeader("If-Modified-Since") >= flast) {
1186N/A String mimeType = getServletContext().getMimeType(f.getAbsolutePath());
1186N/A response.setContentType(mimeType);
1186N/A response.setHeader("content-disposition", "attachment; filename="
1186N/A OutputStream o = response.getOutputStream();