Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Beans and .properties File  RSS feed

 
Dylan Stamatopolis
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My JSP page is implementing a Bean message like so:
<bean:message key="blah.thething"/>

My blah.properties file currently has an entry in it like:
blah.thething=Some Text


Problem is, my JSP page ends up printing out the following:
???en_US.blah.thething???

Why isn't it printing out the text "Some Text" ?
 
leon fan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure your properties file be putted into correct which decided by how to load properties file blah.properties in your 'bean' tag.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!