Friday, September 7, 2012

Struts - Include Causes BufferOverflowException

Using the Struts include tag on some pages is causing the following error:
at java.nio.HeapByteBuffer.put(Unknown Source)
at org.apache.struts2.util.FastByteArrayOutputStream.decodeAndWriteOut(
at org.apache.struts2.util.FastByteArrayOutputStream.writeTo(
at org.apache.struts2.components.Include.include(
at org.apache.struts2.components.Include.end(
at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(
The only solution I could find so far is to replace the Struts include with a JSP include. Does anyone know how to fix this so it works in Struts?

No comments:

Post a Comment

Thank you for commenting!