hi
it seems we have the same problem with ajax4jsf-filter cache than strut2 decribed here : https://issues.apache.org/struts/browse/WW-1526
I tried the same fix : flush explicitly before sending response.
in org.ajax4jsf.webapp.CacheContent class
public void send(HttpServletResponse response) throws IOException {
if (filledOutputStream) {
OutputStream out = response.getOutputStream();
if (content != null) {
out.write(content);
} else {
this.outputStream.writeTo(out);
}
out.flush();
// out.close();
} else if (filledOutputWriter) {
Writer out = response.getWriter();
if (null != writerContent) {
out.write(writerContent);
} else {
stringOutputWriter.writeTo(out);
}
out.flush();
// out.close();
}
}