struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Struts Newsgroup ( <>
Subject Re: Dealing with many JSP files with one Action
Date Thu, 13 Jun 2002 14:25:02 GMT
Subject: Re: Dealing with many JSP files with one Action
From: Eric Rizzo <>
Niall Pemberton wrote:
> I'm sure you can do something more intelligent than duplicating the whole
> set of jsps for each different language. If the problem is that you need
> different images for different languages then write your own tag to generate
> the path for the image based on the localle.

I suggest using the pageKey or srcKey attribute of the <html:img> tag to 
specify an ApplicationResources key that holds the real image file name. 
  Then your images can be i18ned just like your text.

Eric Rizzo
Software Developer
"A man talking sense to himself is no more insane than
  a man talking nonsense not to himself...or just as insane."
                          -Rosencrantz and Guildenstern Are Dead

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

View raw message