File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Add values of a column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Add values of a column" Watch "Add values of a column" New topic

Add values of a column

Krish Pat
Ranch Hand

Joined: Jul 31, 2002
Posts: 32
I have some columns generated dynamically based on the rows of data. If I wanted to add all the values of a particular column (say column3 has 20 rows with values ranging from 1-20)and display them on my page, how do I go about it using JSP/Javascript? Also how do I limit the number of rows displayed in a page to say 10 and subsequent rows should be divided into rows of 10? User clicks a button like "previous" or "next" to reach the previous or next 10 rows.
Thanks in advance
A neophyte
I agree. Here's the link:
subject: Add values of a column
jQuery in Action, 3rd edition