You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by honsali ilia <il...@hps.ma> on 2002/08/05 17:32:16 UTC

bean:message and bean:include

I want to dynamically include  big "static" text into my jsp, depending on
user local,
As the ApplicationResources.properties support the internationalisation ,
I got the Idea of making the different text in jsp/html pages that I will
include in my main jsp
and making the name of the included jsp page as a key in
ApplicationResources
but I did not succeed because I couldn't include the bean:message tag in the
bean:include tag

In other words I want to put the following line into my
ApplicationResources_fr.properties
fileName=myJspPageFr

and in my jsp I want to combine
this
<bean:message key="fileName" />
and this
<bean:include page="fileName" />


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>