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

Unknown macro: {snippet}

Parameters

Unknown macro: {snippet}

Examples

Unknown macro: {snippet}

  • 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>