Hi,
<logic:iterate name="yourArrayListReference"
id="theInstanceIdOfEachListItem">
<bean:write name="theInstanceIdOfEachListItem" property="propertyToWrite"/>
</logic:iterate>
yourArrayListReference should be an object instance stored either in
- the page context
- the request context (request.setAttribute("yourArrayListReference",
object)
- the application context
(getServletContext().setAttribute("yourArrayListReference", object)
HTH,
David
-----Message d'origine-----
De : A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] la part de aRUN NANDY
Envoye : 2 mars, 2003 07:28
A : [EMAIL PROTECTED]
Objet : How to Print a array list in Struts Frame work's JSP Page
Hi,
Any body has an example how to print a ARRAYLIST in JSP PAGE using Struts
Tag, by using LOGIC:ITERATE and bean:WRITE though SELECT OPTION tag.
My best regards to U for your help in ADVANE.
Arun Nandy
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com