• 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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.
 
If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!