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
ModelAndView model = new ModelAndView("htmlPageName");
model.addAttribute("variableName", "someValue");
in the controller and
${variableName}
in the HTML. But when I load the page it shows literally ${variableName} instead of "someValue"
Am I missing something?