티스토리 뷰

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
댓글
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함