2013-11-14 38 views

回答

0

只需使用彈簧MessageTag

這將導入一個Spring標籤庫。

<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %> 

,這將讓你的價值從屬性文件:

<div> 
    <spring:message code="message.code.from.properties.file"/> 
</div> 
相關問題