struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paranoid_Fabio <>
Subject Re: Two resource bundles in the same page?
Date Tue, 22 Apr 2008 07:37:13 GMT

Thank you. The outline is:

Navigation.jsp (the links bar that is included in the other pages):

<s:i18n .....> content

Home.jps (which includes Navigation.jsp):

<s:i18n ......>
<%@include file="Navigation.jsp"%> content....


Paranoid_Fabio wrote:
> Hello. I've a problem with i18n resource bundles.
> I've a page "home.jsp" that uses a resoruce bundle "res1" for
> internationalization.
> home.jsp, like all the pages of my web app, includes "bar.jsp" which is a
> bar with some links. The links are also internationalized and this bar
> uses the resource bundle "res2".
> The problem is that, when I include the bar in the page, all the text
> messages from res1 are not showed. If I do not include the bar, everything
> is ok. It's like the first resource bundle overrides the second.
> I use resource bundles in this way:
>  <s:i18n name="text/res1">
>       <s:text name="message"/>
>  </s:i18n>
> Any help? Thanks!

View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message