티스토리 뷰
http://www.thymeleaf.org/doc/articles/springmvcaccessdata.html
- spring properties(bean)을 thymeleaf가 적용된 페이지에서 사용하고 싶을 때
- 아래와 같이 사용 : prop이 bean name
<link rel="stylesheet" type="text/css" th:href="${@prop['file.css']}">
'공부 > Spring :: Web Framework' 카테고리의 다른 글
responseBody, jsonAPI 삽질 (0) | 2015.06.19 |
---|---|
js study 2 (0) | 2015.06.17 |
use maven properties in web.xml (0) | 2015.05.24 |
spring util:properties 사용 (0) | 2015.05.08 |
[HTTP] head 메소드 에러 (0) | 2015.04.15 |
댓글