Reputation: 5474
I have a controller which has the following code snippet
...
model.addAttribute("parade", "Parade1");
...
session.setAttribute("parade", "Parade2");
But when I access it using ${parade}
it gives me Parade1
. I want to access the other one from the session. How can I do this?
Upvotes: 0
Views: 58