struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: using <bean> tag in scriptlet
Date Mon, 11 Sep 2006 14:17:48 GMT
Yes i have already try " instead of ' as value deliminator.
I also tried: key=\"test.hello\" 
but it does not work too.

I have also set up resource bundle in strutsconfig. it works, when i use 
<bean> tag out of scriplet.

David Grundberg <> 
09/11/2006 05:12 PM
Please respond to
"Struts Users Mailing List" <>

Struts Users Mailing List <>

Re: using <bean> tag in scriptlet

I would try using " instead of ' as value delimiter. (key="test.hello" 
instead of key='test.hello') Have you set up the resource bundle in 
strutsconfig? wrote:

>Hi Everybody,
>i have a struts application which gives multilanguage support.
>And i want to a assign a property file key value to a string in 
>Here is the example jsp:
>        String str="<bean:message key='test.hello'/>";
>        out.print(str);
>When i want to print "str" value, there is no output shown at the page.
>In addition, I do not have any error message 
>Any other solutions please?
>Best Regards.

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message