Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 6 problem with ResourceBundle using JSTL

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

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.

Thanks,

Kapil
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic