Author: lukaszlenart
Date: Tue Apr 10 17:15:38 2012
New Revision: 1311872
URL: http://svn.apache.org/viewvc?rev=1311872&view=rev
Log:
WW-3793 corrects name of PlainText Result in documentation to be plainText and
not plaintext
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java?rev=1311872&r1=1311871&r2=1311872&view=diff
==============================================================================
---
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
(original)
+++
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
Tue Apr 10 17:15:38 2012
@@ -35,7 +35,7 @@ import java.nio.charset.Charset;
/**
* <!-- START SNIPPET: description -->
*
- * A result that send the content out as plain text. Usefull typically when
needed
+ * 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.
*
* <!-- END SNIPPET: description -->
@@ -57,12 +57,12 @@ import java.nio.charset.Charset;
* <!-- START SNIPPET: example -->
*
* <action name="displayJspRawContent" >
- * <result type="plaintext">/myJspFile.jsp</result>
+ * <result type="plainText">/myJspFile.jsp</result>
* </action>
*
*
* <action name="displayJspRawContent" >
- * <result type="plaintext">
+ * <result type="plainText">
* <param name="location">/myJspFile.jsp</param>
* <param name="charSet">UTF-8</param>
* </result>