Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

calculating in jsp

843836Oct 18 2004 — edited Oct 21 2004
Hi,

For example, I have 3 columns, description of items, quantity and unit cost, in the database, For example:
Description Quantity unitcost
item1 10 2
item2 10 3
these are retrieved from the database. How can I automatically calculate the total cost of these 2 things? Anybody can help me?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2004
Added on Oct 18 2004
4 comments
457 views