• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple items in forEachTokes.

 
Ankita Jha
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i have multiple items in forEachTokens tags in jstl.


any help will be appreciated.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Amol Nayak
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!