Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring exception Neither BindingResult nor plain target object for bean name 'name' a

 
Ashimashi Kabashi
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting an exception

can anyone hint to what I might be doing wrong?
 
Arjana Matonyte
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think that your problem is very well explained here. Have a look at it.
If, after reading it, you still are not sure how to apply the advice in your specific situation, include relevant parts of the controller code in your post.
 
Chid Nyc
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying Spring MVC for the first time(in fact I am quite new to Spring also). I tried this so many times for the past one day but still getting the same issue, even after looking at the suggested link and also other google search results. I am using the Spring mvc tutorial available at:

http://static.springsource.org/docs/Spring-MVC-step-by-step/part4.html

Following is the error:


Following is my web.xml:



Following is the code in services.xml:



Following is the code in Dispatcher-servlet.xml:



Following is the code in SearchAccessFormController:



Following is the code in SearchAccess.java:



Following is the code in SearchAccessImpl:



Following is the index.jsp code:



I checked BindStatus.java in Spring code, but unable to find why target is null. The exception above is in index.jsp...Please help
 
Chid Nyc
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone kindly reply as to what is the issue in my code and why am I getting the exception mentioned in my previous post ...I am not sure how to resolve the same...

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic