• 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

Multiple items in forEachTokes.

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can i have multiple items in forEachTokens tags in jstl.


any help will be appreciated.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ankita Jha
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
    Bookmark Topic Watch Topic
  • New Topic