0

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?

2
  • Why not just skip redirect and assign your foo.jsp as successView? Commented Dec 5, 2008 at 0:39
  • You can reference this post : stackoverflow.com/questions/19249049/… Commented Jan 15, 2015 at 13:00

1 Answer 1

1

missing bean def:

<bean name="/foo.html"class=".....UrlFilenameViewController"/>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.