Results 1 to 4 of 4

Thread: MultiActionController and form submit

  1. #1

    Default MultiActionController and form submit

    Hi,

    Simple question :

    Can i use a MultiActionController with a form in the session scope and lets spring populate it when i submit my jsp page ?

    In fact i have 4 actions and a list of items in the same form in my jsp page and i think that MultiActionController is the best controller i should use, don't you think so ?

    Fabien.

  2. #2
    Join Date
    Aug 2004
    Location
    Stockholm
    Posts
    466

    Default

    As I understand it, MultiActionController is aimed mainly at non-form views, i.e when you want to display some data. Then yot send it via the Model-object.
    MultiActionController does not have the abitity to send the form object and invoke the spring:bind mechanism. At least I don't think it have. I'm a newbie so...
    Sincerely,
    /The Cantor

    "Murphy was an optimist"
    (The O'Toole commentary on Murphy's Law)

  3. #3

    Default Thanks

    Thnaks for your answer. In fact i'll try to do it and a reponse will appear in few minutes...

  4. #4

    Default here is the first result

    javax.servlet.jsp.JspTagException: Could not find Errors instance for bean [form] in request: add the Errors model to your ModelAndView via errors.getModel()

Similar Threads

  1. Replies: 4
    Last Post: Sep 1st, 2010, 01:38 AM
  2. Replies: 3
    Last Post: Jun 8th, 2010, 03:27 AM
  3. Replies: 3
    Last Post: Jan 26th, 2005, 04:18 AM
  4. Replies: 5
    Last Post: Dec 16th, 2004, 03:19 PM
  5. Replies: 9
    Last Post: Aug 25th, 2004, 10:57 PM

Posting Permissions

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