This week's giveaway is in the Spring forum.
We're giving away four 3 month subscriptions to Marco Behler Videos and have Marco Behler on-line!
See this thread for details.
Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

My binding with datatable give me null ate the backing bean, do i miss some thing  RSS feed

 
Rahul Shivsharan
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , what i'm trying to do is first to load arraylist of student objects in h:datatable in the jsp, than on submit i want to get those student collection back in backing bean.
The datatable will have student information in columns containing h:inputtext. So user can edit the collection of student .

For this i did binding with HTMLDatatable in backing bean. but this gives me null pointer exception. why?

This is as follows

my backing bean



this is my jsp




i get null pointer exception in method doItRe() of backing bean why ?, did i missed out something
 
Sai Hegde
security forum advocate
Ranch Hand
Posts: 214
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are pointers here that could solve your problem --

http://balusc.blogspot.com/2006/06/using-datatables.html
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!