aspose file tools*
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
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
Author

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

jane fridkin
Greenhorn

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
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

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="http://struts.apache.org/tags-bean" 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="http://struts.apache.org/tags-tiles" prefix="tiles" %>... Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <bean:message tag displays as ???en_US.lbl..