Results 1 to 2 of 2

Thread: Forwarding to the same FormController after a post

  1. #1
    Join Date
    Oct 2005
    Posts
    10

    Default Forwarding to the same FormController after a post

    I have a form that returns a success view that points to the same form controller. When the form is forwarded to however it blows up with the following

    Code:
    Neither Errors instance nor plain target object for bean name 'fooBean' available as request attribute'
    Is it possible to post the results of a form to the same page that made the submission?

  2. #2
    Join Date
    Oct 2005
    Posts
    10

    Default Figured it out

    I solved the problem by changing my onSubmit method to take in a bindException and then adding the error model to the ModelAndView returned with

    Code:
    modelAndView.addAllObjects(errors.getModel());

Similar Threads

  1. Spring HTTP Invoker and HTTP Forwarding Proxy
    By dkar77 in forum Remoting
    Replies: 3
    Last Post: Sep 21st, 2005, 08:59 PM
  2. Replies: 4
    Last Post: Jul 20th, 2005, 04:45 AM
  3. Forwarding to another controller?
    By Paul Taylor in forum Web
    Replies: 3
    Last Post: Apr 12th, 2005, 06:09 PM
  4. Replies: 1
    Last Post: Nov 15th, 2004, 10:28 AM
  5. Spring FormController lacks POST -> REDIRECT support.
    By DaVinci79 in forum Architecture
    Replies: 2
    Last Post: Oct 21st, 2004, 03:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •