I have a SimpleFormController, the doSubmit() is doing nothing but populating a command object(call it bar, a simple POJO, and it have a field, say id). So, the successView is being called.
the successView is "redirect:/foo.html", and the bean def for foo.html is:
I have this bean mapped to a simple jsp, called foo.jsp.
the jsp comes up fine.
my issue is that I want foo.jsp to show ${bar.id}, it is not showing up.
when I do not do a redirect, ${bar.id} shows up fine. what do I need to do to get it to work in a "redirect" situation?
-
Why not just skip redirect and assign your foo.jsp as successView?serg– serg2008-12-05 00:39:45 +00:00Commented Dec 5, 2008 at 0:39
-
You can reference this post : stackoverflow.com/questions/19249049/…himanshu bisht– himanshu bisht2015-01-15 13:00:02 +00:00Commented Jan 15, 2015 at 13:00
Add a comment
|