• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic