<p>Currently there are 2 pages in a jsp file: one of them displays the data and the second one is used for pagination. The task is to include exactly the same paginator table above the data table. Sorry, couldn't resist to draw it :)</p>

<pre><code>|-----------------------------------------|
|                      Page 2 of 200  &lt; &gt; |
|-----------------------------------------|
|-----------------------------------------|
|   Some weird business data comes here   |
|-----------------------------------------|
|-----------------------------------------|
|                      Page 2 of 200  &lt; &gt; |
|-----------------------------------------|
</code></pre>

<p>The question is: how do I do it w/o shameless copypasting?</p>

Perhaps you can define the pagination stuff in a separate jsp, and then include it twice into your main jsp.  For example:
```
```
<jsp:include page="pagination.jsp" flush="true" />

<table>...business data...</table>

<jsp:include page="pagination.jsp" flush="true" />
```
```
This way, if you ever want to change the pagination stuff, you can just edit pagination.jsp.