Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mod Operator

 
Mary Cole
Ranch Hand
Posts: 362
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic