File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes <bean:message tag displays as ???en_US.lbl.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<bean:message tag displays as ???en_US.lbl.." Watch "<bean:message tag displays as ???en_US.lbl.." New topic

<bean:message tag displays as ???en_US.lbl..

jane fridkin

Joined: Nov 15, 2006
Posts: 6
Hello, I'm converting Struts application that is running on WL8.1 to WL 10.1. The application is using bean:message to populate some info on the page. It is working fine in WL 8.1 as well as working fine on my local in WL10.1 but when the app gets deployed to the UNIX box the bean:message tag is not been recognized and the message gets displayed as ???en_US.lbl.PolNo???.. Please help...Thank you
David Newton

Joined: Sep 29, 2008
Posts: 12617

Looks like some resource files aren't being picked up--have you verified correct deployment?
jane fridkin

Joined: Nov 15, 2006
Posts: 6
well i thought I triple check it .... Here is my set up:
in struts-config.xml i have <message-resources parameter="com.thehartford.ild.idw.struts.resources.ApplicationResources" null="false" />
in my jsp i have <%@ taglib uri="" prefix="bean" %> as well as <bean:message key="lbl.Bob.PolNo"/>. The interesting thing about it is that I have same set up for other tlds and those are working fine, for example <%@ taglib uri="" prefix="tiles" %>... Thank you
I agree. Here's the link:
subject: <bean:message tag displays as ???en_US.lbl..
Similar Threads
getting error with bean:message tag
Bean:Message - Advantages ?
Problem running jsp-servlet application in JBOSS AS
retrieve value from property file from a variable
Struts error message