File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

condition check using struts tags

 
Christian Nash
Ranch Hand
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i have a loop and i need to check if the value in the loop is a multiple of 2. how can i do this using only struts tags? i tried using the % operator but then i was getting a servlet error.
i.e.
i want to convert the following code using only struts tags
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic