1. Properties 설정

1
spring.freemarker.request-context-attribute: rc
cs

 

 

2. Template에서 사용

1
${rc.getContextPath()}
cs

 

 

 

 

 

Posted by 셋부터넷
,