Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Logic:iterate + OR condition

 
Maeve Shey
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7480
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not use JSTL?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic