Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set arrayList property in form from view

 
sudheer kiran
Ranch Hand
Posts: 237
Firefox Browser MyEclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

i have a form which has a arrayList as a property and i created setters and getters for that.
in my view.jsp



error is NulPOinterException,arrayList is null always how to set a array list from view.

thanks,
Sudheer
 
siddhu Math
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
possibly check the scop of the respective actionform in your strutsconfig.xml action tag.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic