Hi Dave,
(3) but I do not know how jsp can recognize "package.properties"?
You're mis-understanding how the text is retrieved from the JSP: the JSP
is calling the action's getText(...) method.
Are you accessing the JSP directly, or through an action?
I am new to struts2. I tried to use getText directly in JSP. Is it
possible that I can use getText() to read values from packages.properties?
Basically, in packages.properties
message.info=value of the info
in jsp, I'd like to display
<s:textfield value="getText('message.info')" />
Thanks a lot!
--
Lu Ying
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org