This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Web Flow: Neither BindingResult nor plain target object for bean name available as request attribute

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither BindingResult nor plain target object for bean name 'orderForm' available as request attribute
The above is the error I am getting when I try to move from index page to main page. In Spring MVC we set the model class in request which gets used by that page. I am not knowing how to do it here. I have come across theory that we set it in request scope or flash scope etc. I am not knowing how to pass it to a jsp. This one concept of passing a model object to a jsp and using its attributes of that class, I am not really getting it. I kindly request someone to help me.

This is my flows.xml

enterPewrsonalDetails.jsp


xxx-servlet.xml
 
VenkataPrasad Regula
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I try to use the formAction class, it is no longer existing. It was there in spring 1(If i am not mistaken)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!