JSP's big answer is truncated :(

I have a JSP available through JBoss. It displays a list (search result). If the response becomes large, approximately 200k, the answer is truncated. I see a page end in the middle of a tag in Firefox. IE is completely addicted like Fiddler. Answers less than 200 thousand. Do not pose a problem.

Has anyone experienced this? I do not know where to look for the problem ... any suggestions are welcome.

+3
source share
5 answers

If your JSP displays a very complex html page, then it could just be switching browsers to their own feet. Can you get the page via wget or curl? Is it also trimmed?

+2
source

Add this to your code:

<%@ page buffer="none" %>

, - . , , , ().

- jsp .

+1

, ? (200 .) , . :

<%@page buffer="500kb" autoFlush="true" %>

.

0

. JSP JBoss , , , -, JBoss.

0

. , .

From the moment the disk crashes, I cannot reproduce this behavior! I have not lost any code, and I have the same JBoss. But I have a slightly different version of Java and Firefox. No Fiddler is installed (although I disabled it on my old machine).

I still don't know what caused this. But also I don't care: P

0
source

Source: https://habr.com/ru/post/1698294/


All Articles