aspose file tools*
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
Author

Logic:iterate + OR condition

Maeve Shey
Greenhorn

Joined: Oct 13, 2004
Posts: 7
Hi,

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
</logic:equal>
</logic:equal>
</logic:iterate>

Any ideas on how I can get this going?

Thanks
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4679
    
    7

Why not use JSTL?



Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logic:iterate + OR condition