Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat 6 problem with ResourceBundle using JSTL  RSS feed

kapil Gupta
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am facing problem in migrating my webapp to Tomcat 6. The issue is with using ResourceBundle using JSTL tags.

Am setting the resouce bundle anditerating over all the keys in my message bundle using following code

The above code is not executing well and I found that ${messageString.resourceBundle.keys} results in ???key???
But interestingly am able to a get a particular message using the below code

However, I overcame this problem using below hack

I could not understand why am not able to get resource bundle keys using JSTL tag.


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!