Child pages
  • PlainText Result
Skip to end of metadata
Go to start of metadata

This page is DEPRECATED, please refer to the new source http://struts.apache.org/core-developers/

Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20

Parameters

Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20

Examples

Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20

  • No labels

1 Comment

  1. The result that send the content out as plain has changed to "plainText"!

    So the examples of above should be:

    <action name="displayJspRawContent" >
    <result type="plainText">/myJspFile.jsp</result>
    </action>

    <action name="displayJspRawContent" >
    <result type="plainText">
    <param name="location">/myJspFile.jsp</param>
    <param name="charSet">UTF-8</param>
    </result>
    </action>