• Post Reply Bookmark Topic Watch Topic
  • New Topic

Properties file issue  RSS feed

 
Steve Renard
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application running on Tomcat.
When I run my application, it doesn't pick up the label values from the properties file.
I've placed the properties file under application root folder.
Anything else I might have missed out on?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Steve Renard:
Anything else I might have missed out on?


Umm, giving us enough information to even begin diagnosing the issue, perhaps?

Please read this for more information.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the code that is trying to read the property file.
 
Steve Renard
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<td align="RIGHT">
<fmt:message key="login.username"/>


Here's the piece that tries to fetch values by key..
But I'm not sure where the mapping of resource files are done...
Please help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the section of the JSTL Specification that describes how this works?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!