Fork me on GitHub
Edit on GitHub << back to Result types

PlainText Result

Description

A result that send the content out as plain text. Useful typically when needed to display the raw content of a JSP or Html file for example.

Parameters

Examples

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