Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

<fmt:message> prints the key as it is  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sir,

I have added some of the keys into and in the jsp iam trying to get the keys from,
it is printing "msg.analyst.issuers.covered" the keys as it is in the application.

I have added the following taglibs in my jsp :
<%@ page pageEncoding="UTF-8"%>
<%@ page session="false"%>
<%@ taglib prefix="c" uri="" %>
<%@ taglib uri="" prefix="fmt"%>
<%@ taglib uri="" prefix="spring"%>
<%@ taglib uri="" prefix="form"%>

In the jsp <td class="HeadlineText" BGColor="#003399" width='100%' height="17">
<fmt:message key="heading.myapp.holding " /> contains key like - heading.myapp.holding =welcome to i18n
Thanks in advance for your great help!
Ranch Hand
Posts: 199
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!