Meaningless Drivel is fun!*
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Error on View - MultiActionController + Spring:bine  " Watch "Error on View - MultiActionController + Spring:bine  " New topic
Author

Error on View - MultiActionController + Spring:bine

Twoz Lee
Greenhorn

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)


Spring_mvc_config.xml



Error Message



Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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.

Mark


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

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:



Controller:



And container throws:


Some ideas?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error on View - MultiActionController + Spring:bine