Take a look at this example <s:property value="%{getText('edit.action')}" />
what is displayed when property is displayed in jsp? Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 4 Feb 2009 16:50:43 -0500 > From: em...@encs.concordia.ca > To: user@struts.apache.org > Subject: getText did not return value in s:submit > > Good afternoon, > > A question about getText in jsp file. I'd like to get value from > property file. > > in package.properties, > edit.action=Edit information > > > in jsp, > ... > <s:i18n name="info.ProcessInfo"> > <s:form action="ProcessInfo" > > <s:submit name="submit" value="%{getText('edit.action')}" /> > </s:form> > </s:i18n> > > > The result always shows "edit.action" as the button value, but not "Edit > information". Could someone tell me where I did wrong please? > > Thanks > -- > Lu Ying > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ Windows Liveā¢: E-mail. Chat. Share. Get more ways to connect. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_022009