struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: How to do matematical operation in jsp.
Date Tue, 21 Apr 2009 15:57:20 GMT
Lukasz Lenart wrote:
> 2009/4/21 Stefano Tranquillini <>:
>> how can i do that?
> Add method to class Item to do that, jsp isn't place for business logic

Meh--for simple stuff like this I'm not as sure, although if we're 
talking about a line item in a invoice, it wouldn't take much to 
convince me.

The issue for me would be that if this is money maths it should be using 
BigDecimal (or something), and I'm not sure what OGNL would do with the 
'*' operator.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message