This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

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

 
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?
 
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.
 
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.
 
She'll be back. I'm just gonna wait here. With this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!