• Post Reply Bookmark Topic Watch Topic
  • New Topic

Neither BindingResult nor plain target object for bean name 'pid' available as request attribute  RSS feed

 
Selvaguru Manokaran
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I've a jsp file which contains a form which in turn contains a table. The form has a ModelAttribute attribute (ModelAtt).
I'm dynamically creating table rows and adding some "<input path="">" tags inside the newly created table rows using javascript.
"pid" is one of attributes used in input tags' path attribute. When, I run the file, I get the following error.

Error 500: Request processing failed; nested exception is java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'pid' available as request attribute


But, when I add the static row, without javascript, its fine and running. I dont know what's wrong? what is the right way to do it?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!