File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Logic:iterate + OR condition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Logic:iterate + OR condition" Watch "Logic:iterate + OR condition" New topic

Logic:iterate + OR condition

Maeve Shey

Joined: Oct 13, 2004
Posts: 7

I need to place an if(x or b) condition in my JSP. Ive tried the following but it will not work

<logic:iterate id="OLTX_list" name="modeloutputkey" property="oltxAccountTypes" indexId="OLTXidx">
<logic:equal name="OLTXidx" value="2"><%or%><logic:equal name="OLTXidx" value="3">
//Something to do

Any ideas on how I can get this going?

Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

Why not use JSTL?

Junilu - [How to Ask Questions] [How to Answer Questions]
I agree. Here's the link:
subject: Logic:iterate + OR condition
jQuery in Action, 3rd edition