Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jstl  RSS feed

 
raj kaushik
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String errorKey = "error.key";
<h1><fmt:message key="${errorKey}" bundle="${lang}"/></h1>
doesn't produce the desired result
I get ???
<h1><fmt:message key="<%= errorKey %>" bundle="${lang}"/></h1>
doesn't produce the desired result
I get ???
What should I do so that I get the desired result
key="error.kay" is not an option. I must use some variable.
Any ideas,
Raj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!