| Author |
[struts 1.x] using indexId of logic:iterate
|
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
|
|
Hi, Is it possible to use the indexId, such that, for example, I want to process only the 3rd and 4th item in the collection, without using scriptlets? [ June 05, 2008: Message edited by: Jesus Angeles ]
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
You can use JSTL. Example:
|
Merrill
Consultant, Sima Solutions
|
 |
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
|
|
Thanks. That is exactly same as a struts 2 tag. (My project is conversion from struts 2 to 1. This will make it easier for me.)
|
 |
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
|
|
To be able to use jstl, for example, the 'if' tag only, what do I need to do to my application? e.g. edit web.xml? download and copy jars? Hoping for comments.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
The JSP FAQ has this information.
|
 |
 |
|
|
subject: [struts 1.x] using indexId of logic:iterate
|
|
|