The html:img tag now contains an altKey attribute that does what you want.
e.g.
<html:img src="someImage.png" altKey="someImage.alt.text"/>
> -----Original Message-----
> From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
> Sent: 28 March 2001 21:54
> To: [EMAIL PROTECTED]
> Subject: Re: Internationalised 'alt' text
>
>
> Hi, this is an old email, but not resolved, at least for me.
> Maybe somebody can give
> me a hunt.
> I have tried both suggestions. Both are not working. Maybe I
> am doing something
> wrong.
> Thanks in advance.
> Maya
>
> Craig Tataryn wrote:
>
> > How about this:
> >
> > <!-- MyResources would be replaced with whatever class name
> you used in the
> > application
> > init-param you setup for the ActionServlet
> > -->
> > <jsp:useBean id="resouces" class="MyResources" />
> >
> > <html:img src="someImage.png" alt='<%=
> resources.getString("someImage.alt.text")
> > %>'/>
> >
> > Craig T.
> >
> > Peter Alfors wrote:
> >
> > > scratch that. You would need to have a bean that had
> access to the messages.
> > >
> > > Peter Alfors wrote:
> > >
> > > > I think that <bean:define> does what you want.
> > > >
> > > > <bean:define id="altTxt" property="someImage.alt.text"/>
> > > > <html:img src="someImage.png" alt="<%= altTxt %>"/>
> > > >
> > > > HTH,
> > > > Pete
> > > >
>