I have generating some table for a html page.
I try to print a footer and a header every page.
The html code is generated dynamically by some java code. what's the best way to keep track of the no of row or how much i have printed in order to put a footer there? (counting the number of <tr>? number of <br>?) doesn't sound work.