Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
how to set arrayList property in form from view
sudheer kiran
Ranch Hand
Posts: 237
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
<html:select property="arrayList" style="width:180px" multiple="true" size="6"> <html:options collection="list1" property="value" labelProperty="label"/> </html:select></td>
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
Posts: 46
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
possibly check the scop of the respective actionform in your strutsconfig.xml action tag.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
struts, html:options, ActionForm
Adding Dynamic Rows to Table using addrow button
Dynamically Allocate Array lists to options in a dropdown for struts JSP
Dynamically Allocate Array lists to options in a dropdown for struts JSP
retrieve drop down value
More...