index.jsp
...
<h1> ${myobject} </h1>
...
HomeController.java
@RequestMapping(value = "/index")
public ModelAndView indexPath() {
System.out.println("going home");
return new ModelAndView("index", "myobject", "isastring");
}
Output:
going home
The <h1>
on index doesn't show anything, how is this even possible? I absolutely cannot get my index.jsp to show this bean, I've tried using a usebean, I've tried storing it on the session, and now I'm directly placing it in the model. Nothing works. Spring 3 has been like every other spring release, intensely frustrating.