You could create a servlet (or an action) that uses user Locale object to
put the localized image in HttpResponse (a binary stream). Doing so you
would have to define a mapping in web.xml ("/images/localized/*.gif" ->
LocalizedImageServlet) as I don't think browser will accept image without
good request extension.

Nico.


>
> Unless you want to go to the trouble of building images dynamically.
> Plenty of techniques for doing this, but possible load issue though,
> generating images when your content like that can be so easily served by
> the web server
>
> Scott
>
>
> On Thu, 2003-02-06 at 15:46, Thomas CORNET wrote:
>
> > IMO, you'll have to create one image per language, and put image's path
in
> > your ressource files...
> >
> > Thomas
> >
> > At 06:11 06/02/2003, you wrote:
> > >Hello
> > >
> > >Please tell me whether we can change the label of a button which is an
> > >image, using internationaliztion in struts. Normal labels we can
change.
> > >But if anybody has an idea to achieve this for BUTTONS(Note that, the
> > >button is image not the normal button), please help me.
> > >
> > >george
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to