Forums Register Login

question on <fmt:message tag

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
You are mixing scriptlet expressions with the JSTL. Don't do that. Use the EL.
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 970 times.
Similar Threads
Equivalent of System.getProperty in JSP
Embed Tags
Internationalization of web service
i18n custom tag
Dynamic values for HTML-element attributes
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:59:14.