Lukasz,
Thanks.  I implemented it as you said but it still didn't work.  The 
"help.link" is passed thru the java action using getText
addActionError(getText("help.link")); 


     On Friday, May 15, 2015 3:11 PM, Lukasz Lenart <lukaszlen...@apache.org> 
wrote:
   

 You can do something like this:

ApplicationResources.properties
help.link=Help ${getLink()} page

base action class:
public String getLink() {
    return "<a href='help.jsp'>Help</a>";
}

jsp file
<s:text name="help.link"/>


2015-05-15 13:35 GMT+02:00 lilylove2shop <lilylove2s...@yahoo.com.invalid>:
>
>
> It's struts2
>
>
>
> -------- Original message --------
> From: Lukasz Lenart <lukaszlen...@apache.org>
> Date: 05/15/2015  2:26 AM  (GMT-05:00)
> To: Struts Users Mailing List <user@struts.apache.org>
> Subject: Re: Need help with getting the value from 
> ApplicationResources.properties
>
> 2015-05-14 22:03 GMT+02:00 Lilylove toshop <lilylove2s...@yahoo.com.invalid>:
>>  Hi All,
>> I've defined the invalid login in my ApplicationResources.properties as
>> error.login.generic=Invalid login or password.  Please contact the <a 
>> href="help.jsp">Help Desk</a> to reset your password.
>> Instead of displaying the Help Desk link, it displays <a 
>> href="help.jsp">Help Desk</a> on the page.
>> Could you please help!!
>
> Struts version?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


  

Reply via email to