diff --git a/core/src/main/java/org/apache/struts2/components/Text.java b/core/src/main/java/org/apache/struts2/components/Text.java index 396fbf9ba..a88ecf73d 100644 --- a/core/src/main/java/org/apache/struts2/components/Text.java +++ b/core/src/main/java/org/apache/struts2/components/Text.java @@ -50,8 +50,10 @@ import com.opensymphony.xwork2.util.logging.LoggerFactory; * *

* - * If the named message is not found, then the body of the tag will be used as default message. - * If no body is used, then the name of the message will be used. + * If the named message is not found in a property file, then the body of the + * tag will be used as default message. If no body is used, then the stack will + * be searched, and if a value is returned, it will written to the output. + * If no value is found on the stack, the key of the message will be written out. * * *