Craig and others,
I am sorry to "touch" the old question. I have a problem with this tag to display
altKey (not displayed at all).
Here is an extract from my resourse file:
image.btnEnter=/images/button_enter.gif
altkey.btnEnter=btnEnter
And this is a call from jsp:
<html:image pageKey="image.btnEnter" altKey="altkey.btnEnter" alt="enter" border="0"/>
I have tried with and without "alt".
Thanks in advance for your help or suggestions.
Maya
"Craig R. McClanahan" wrote:
>
> Now, in my application resources for English, I might have:
>
> image.a=/images/a_en.gif
> image.b=/images/b.gif
>
> Now, I can create a
> single JSP page that grabs the correct version of each image:
>
> <html:image pageKey="image.a"/>
> <html:image pageKey="image.b"/>
>
> (When you use the "pageKey" attribute, your paths have to be context
> relative and start with a slash, just like all the paths in
> struts-config.xml.)
>
> Craig
>