0
在Spring中,我需要在我的ftl文件中显示消息。我正在使用来自属性文件的弹簧消息
<@spring.message "property_name">
和消息来自我的属性文件。
我需要一个像
"Message_content_link"
测试环节的mssage将是一个网址,这将指向另一个页面。我试图像
属性文件
message_content=Message_content
message_link=link
FTL文件
<@spring.message "message_content" htmlEscaspe="false"><a href="#url_page"><@spring.message "message_link"></a>
This [post](http://stackoverflow.com/questions/17022911/how-to-get-properties-in-jsp-files-using-spring-mvc-3)可能会帮助你。 – Braj
此问题可能是http://stackoverflow.com/questions/3154804/how-to-use-messages-with-freemarker-in-spring-mvc的副本 –