• Post Reply Bookmark Topic Watch Topic
  • New Topic

question on <fmt:message tag  RSS feed

 
Veena Pointi
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

In the following code ,if columnName is AccountType ,I am expecting <fmt:message to get the value of AccountType.popupstr key from properties file .But it displays empty message.

><fmt:message key="<%=column.getColumnName()+".popupstr"%>"/>

Doesn't fmt:message evaluates expressions like the above ? Can anybody please explain?

Thanks
Veena
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are mixing scriptlet expressions with the JSTL. Don't do that. Use the EL.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!