title: Thymeleaf/Spring MVC - How do you nest variables/expressions in a Link expression?
body: <p>For example, my controller method in Spring does this:</p>
  
  <pre><code>model.addAttribute("view_name", "foobar")
  </code></pre>
  
  <p>And I'm trying to do this in my Thymeleaf template:</p>
  
  <pre><code>&lt;link th:href="@{/resources/libs/css/${view_name}.css}" rel="stylesheet" /&gt;
  </code></pre>
  
  <p>But the rendered result is this:</p>
  
  <pre><code>&lt;link href="/app/resources/libs/css/${view_name}.css" rel="stylesheet" /&gt;
  </code></pre>
  
  <p>So it's not replacing the <code>${view_name}</code> like I'm expecting.</p>
  
  <p>What am I doing wrong? In general, how do you nest expressions like that in Thymeleaf?</p>