Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jyoti dudhankar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the HTML being generated accurately? For example, you have a space between the root / and the image name.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic