Hello, I'm trying to convert Struts tags to their JSTL equivalents.
I've already converted the Struts <bean:message> tag, that was an straight
conversion to <fmt:message> after I set up the resource bundle in the
web.xml file.
I'm now trying to convert the Struts <html:img> tag which retrieves graphic
files, example below:
<html:img srcKey="image.login" height="20" width="40"
altKey="image.login.alt"/>
This goes to the same resource file that fmt:message/bean:message goes to,
and reads the proper location for the image as well as its alternate text:
{ within resource.properties file: }
image.login=images/mylogin.gif
image.login.alt=Login to System
Anyway to do similarly from the JSTL? I would like to continue doing it
this way instead of via hard-coding, because of i18n reasons (the image
might change with a different language.)
Thanks,
Glen
--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>