开发者

Passing dynamic values to JSP Taglib using Spring MVC

I need to pass a dynamic value to a custom taglib. Eg.

<ibe:I18N 开发者_JS百科baseName="msg" key="dynamic value"/>

How do I pass the dynamic value?

Thank you.


Use EL: key="${key}". You would need to allow expressions in taglib attributes by specifying <rtexprvalue>true</rtexprvalue> in the .tld file.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜