开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜