Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
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:
JSP
Multiple items in forEachTokes.
Ankita Jha
Ranch Hand
Posts: 55
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
can i have multiple items in forEachTokens tags in jstl.
<c:forTokens var="s" varStatus="a" items="${model.skills}|${model.branches}|${model.details}" delims="|"> <c:out value="${s}"/> </c:forTokens>
any help will be appreciated.
Ben Souther
Sheriff
Posts: 13411
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'm not sure what you're trying to do here.
What would the value of "s" be, if it did what you want?
Maybe if you tell us what you're trying to accomplish, we can suggest a better alternative.
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
Ankita Jha
Ranch Hand
Posts: 55
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i have three HashSets. a.Skill b.Branches c.Details
I want to display my data in the following maaner
Sr.No Skills Branches Details
1. ABC Mumbai detail1
2. XYZ Kandla details.
Problem:
Skill set will contain : ABC,XYZ
Branch set will contain : Mumbai,Kandla
Details set will contain : detail1 and detail2.
Which tag is approproate for me c:forEAch or c:forEachToken .
How do i run my for loop.
Any help will be appreciated
Amol Nayak
Ranch Hand
Posts: 218
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Ankita,
Lets assume this is a scenario in a standalone
java
application, how would you be displaying this to the console? What approach will you use?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
access to local variable via EL
jstl - specify how many tokens
c:forEachToken
using JSTL and EL to get/set request parameters
JSLT problem
More...