• 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

basic question about <s:iterator>

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry if this is too basic, but i seem to be missing something.
The iterator tag documentation says it iterates over the value on top of the stack.
I don't understand what this stack is and what is at the top of the stack.

Can i use the iterator tag to iterate over an object stored as a session attribute?

Any help much appreciated!
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

what this stack is and what is at the top of the stack



In computer science, a stack is an abstract data type and data structure based on the principle of Last In First Out (LIFO).

A stack is an ordered list of items.


Can i use the iterator tag to iterate over an object stored as a session attribute?



Yes, you can use the iterator tag to iterate over an object stored as a session attribute.

 
Nilesh Thali
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sheesh - sorry if my question sounded that basic.
i meant i didn't know what stack was being referred to in the struts documentation, and when i asked "can i...", i meant "how do i do it"
sorry, should have been more accurate with my language.
anyways, the apache struts 2 mailing list (thru nabble) gave me the answer i was looking for.
thanks,
Nilesh
 
reply
    Bookmark Topic Watch Topic
  • New Topic