title: Passing data into html from Java via Spring
body: <p>Is there a way to pass a String value from my Spring controller class to my HTML? In various "hello world" examples, they say to use</p>
  
  <pre><code>ModelAndView model = new ModelAndView("htmlPageName");
  model.addAttribute("variableName", "someValue");
  </code></pre>
  
  <p>in the controller and</p>
  
  <pre><code>${variableName}
  </code></pre>
  
  <p>in the HTML. But when I load the page it shows literally <code>${variableName}</code> instead of <code>"someValue"</code></p>
  
  <p>Am I missing something?</p>