aspose file tools*
The moose likes Struts and the fly likes Unable to display images using fmt:messages with locale set in session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to display images using fmt:messages with locale set in session" Watch "Unable to display images using fmt:messages with locale set in session" New topic
Author

Unable to display images using fmt:messages with locale set in session

jyoti dudhankar
Greenhorn

Joined: Feb 11, 2009
Posts: 1
Unable to display images using fmt:messages with locale set in session
I have done
session.setAttribute(LOCALE_KEY, user.getLocaleObject());
Config.set(session, Config.FMT_LOCALE, user.getLocaleObject());

Able to display messages but not able to display images
<img src="<c:url value="/" /> <fmt:message key="image.gif.hdr_sub_track_orders"/>"
alt="Track Orders or Quotes">
Can any one help me...how to display images locale specific
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Is the HTML being generated accurately? For example, you have a space between the root / and the image name.
 
Don't get me started about those stupid light bulbs.
 
subject: Unable to display images using fmt:messages with locale set in session