File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to set arrayList property in form from view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to set arrayList property in form from view" Watch "how to set arrayList property in form from view" New topic
Author

how to set arrayList property in form from view

sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237

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


Sudheer
SCWCD, SCJP 5
siddhu Math
Ranch Hand

Joined: Aug 10, 2006
Posts: 46
possibly check the scop of the respective actionform in your strutsconfig.xml action tag.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set arrayList property in form from view