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.
精彩评论