<s:url value="%{getText('anon.page.home.banner')}"/> should do the trick.
J&M schrieb: > Greetings, > > I want to get the text of an url from a resource bundle. I have the > following test snippet from a jsp: > > <s:text name="anon.page.home.banner" id="test1"/> > > <ol> > <li>test: <s:url value="%{text('anon.page.home.banner')}"/></li> > <li>test: <s:url value="%{test1}"/></li> > </ol> > > What I get on the output is something like this: > > 1. test: > 2. test: /images/en/flash/intro.swf > > Can anyone explain why the first version does not work? I get the basic idea > from > http://struts.apache.org/2.0.9/docs/i18n.html > > Cheers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]