A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
ArrayList in jsp:useBean..
Joined: Oct 05, 2004
Nov 12, 2004 01:53:00
I have the following code.
<jsp:useBean id="names" class="java.util.ArrayList"/>
How can I populate the arraylist using jsp:setProperty , or any other way without using scripting.
Joined: Jun 20, 2003
Nov 12, 2004 09:57:00
The only way I can think of is custom tag. I thought of using core jstl <c:forEach> and <c:set>, but I haven't figured out how to refer to the item of the list in the loop.
SCBCD, SCWCD, SCJP
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: ArrayList in jsp:useBean..
how to pass arraylist from jsp to java bean
How to use for loop inside of dropdownlist at jsp?
Is Vector an obsolete collection class?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014