Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>My personal start point would be the source of PropertyTag, and from there on follow the code.</p> <p>In this case, start with <a href="http://www.docjar.com/html/api/org/apache/struts2/views/jsp/PropertyTag.java.html" rel="nofollow noreferrer">PropertyTag</a>. You see that it extends <a href="http://www.docjar.com/docs/api/org/apache/struts2/views/jsp/ComponentTagSupport.html" rel="nofollow noreferrer">ComponentTagSupport</a>, which in turn extends <a href="http://www.docjar.com/html/api/org/apache/struts2/views/jsp/StrutsBodyTagSupport.java.html" rel="nofollow noreferrer">StrutsBodyTagSupport</a>.</p> <p>This is where it gets interesting; the <code>toString</code> method uses a <a href="http://www.jarvana.com/jarvana/view/org/apache/struts/struts2-core/2.1.8/struts2-core-2.1.8-sources.jar!/org/apache/struts2/util/FastByteArrayOutputStream.java?format=ok" rel="nofollow noreferrer">FastByteArrayOutputStream</a> which uses a default block size (buffer) of 8192 bytes. Using the default constructor, as done by <a href="http://www.docjar.com/html/api/org/apache/struts2/views/jsp/StrutsBodyTagSupport.java.html" rel="nofollow noreferrer">StrutsBodyTagSupport</a> you can't output a String with more data than that.</p> <p>Being not an expert on Struts I hesitate to say that's an implementation bug; it should IMHO compute the buffer size from the <code>value</code> to be printed. Unfortunately, it doesn't. So I don't think there's an easy way around it.</p> <p>The non-easy way is obviously defining a List of String data parts smaller than 8k bytes, and iterate over that list in the JSP, or just use c:out or something like that.</p> <p>This may not be the answer you're looking for, but I hope this will at least help you understand the trouble you're in.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload