1. 程式人生 > >SpringBoot如何配置和引用國際化資源

SpringBoot如何配置和引用國際化資源

在前臺引用國際化資源比較簡單,比如前臺JSP頁面,首先在頁面上引入springframwork標籤庫<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>,並在對應的國際化檔案中寫上message 鍵對應的值。