This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mod Operator

 
Mary Cole
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How do I use Modulous operator in struts...I have to use logic:equal tag or it can be done in any other way?
 
Michal Bienek
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I'm aware, there are no taglibs for mathematical operations in the Struts framework.
You'll have to perform the operation between scriptlet tags, or (the better solution) is perform anything you need within the action that's the predecessor for your jsp page. You jsp should, in theory, not need to perform such calculations, merely present the results.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic