you could use a math taglib and do it without using scriptlets. i don't know of one since we don't use any, but i am sure one would be available.
-----Original Message----- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 3:59 PM To: Struts Users Mailing List Subject: how to calculate A*B in jsp, where A and B are from nested:write A newbie question: Currently I have <nested:write property='width'/> <nested:write property='depth'/> I want to calculate the area IN JSP (not to modify ActionForm) as width X depth. I suppose I am going to use scriptlet. How to achieve this? Thanks. Denis --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]