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
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Struts
Array[] to Collection with taglibs?
Andrew Leer
Ranch Hand
Posts: 44
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I was wondering if there was anyway to convert a primitive array of objects into a java.util.Collection of some sort using a taglib.
Thank you,
Andrew J. Leer
Purushoth Thambu
Ranch Hand
Posts: 425
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Any reason why you specifically looking for this in taglibs? With one line code we can convert from Array to Collections and taglibs were mostly used for UI stuff and most of them should work on Arrays and Collection.
Andrew Leer
Ranch Hand
Posts: 44
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Nah, your right, Arrays.toList does the trick...
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Java video encoding API with codecs?
array
Struts Business Logic Classes called from an Action
How to create a dynamic array using Java version 1.2
NX: Bodgitt and Scarper and design/synchronization questions
More...