Access message source from EL
Suppose I have the following message source file:
title=foo
somefield=bar
...
I always access it in the following way开发者_如何学JAVA:
<fmt:message key="title" />
but I'd prefer to use EL instead, something like:
${messages.title}
Is there a way to use expression language for accessing message source?
精彩评论