This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Spring and the fly likes Error on View - MultiActionController + Spring:bine  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Error on View - MultiActionController + Spring:bine  " Watch "Error on View - MultiActionController + Spring:bine  " New topic

Error on View - MultiActionController + Spring:bine

Twoz Lee

Joined: Aug 12, 2009
Posts: 6
I would like to add validation later on, so i have added spring:bind tag from original jsp page. However, the view can not find the object of command.login_id

so what can i do ?

JSP - test.jsp

Controller (MultiActionController)


Error Message

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

Where do you define what object is behind the binding?

I don't see that anywhere.

Also, do you have to use an older version of Spring. In Spring 2.5 and especially Spring 3.0, Controllers don't implement or extend Spring Controller classes anymore. And binding is more automatic.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Axel Kane

Joined: May 05, 2010
Posts: 1
I have a very similar problem, so i will ask a question here.
How should be defined then command object, when im using MultiActionController.
In my application, form looks like this:


And container throws:

Some ideas?
I agree. Here's the link:
subject: Error on View - MultiActionController + Spring:bine