aspose file tools*
The moose likes Spring and the fly likes java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ..." Watch "java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ..." New topic
Author

java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ...

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm new to spring, using Spring 3.0.2 with Tomcat 6.0.26 (Java 1.6). I'm getting the exception, "java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'userPromotionRule' available as request attribute", when I visit my page, /sweeps/rules/form.jsp, for creating my bean. Relevant JSP code is ...



Below is the controller ...



I'm missing a link to something somewhere. Can you suggest additional things I should troubleshoot? Complete stack trace is below ...


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ...