Hi Max,
I guess the problem arises from the missing content length in the
response. Can you try the following quick fix? Change your
/site/domain/File.jsp to the code below (just added the content
length). Does it work now? If so, I'll need to fix
Servlets.write(...), but I remember issues with text-content and
content length... I'll have to do more investigation, but maybe this
quick fix will help you get your project going in the meanwhile.
Cheers, Maik
<%@page import="jease.cms.domain.*,jease.site.*"%>
<%
File file = (File) request.getAttribute("Node");
if (session.getAttribute(file.getPath()) != null) {
file = (File) session.getAttribute(file.getPath());
}
response.setContentLength((int)file.getFile().length());
Streams.write(request, response, file.getFile(), file.getContentType());
return;
%>