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的副本 –