This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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: 17249
    
    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
 
Similar Threads
Regarding:No tag "form" defined in tag library imported with prefix "form"
Error is Spring MVC - items should be Map, Array or a collection.
what is this error
error compiling view with spring mvc project
I have got this error when i try to run my spring web project.... what is this error?