Ciao a tutti, io devo suddividere i risultati di una query su più pagine in ASP ho visto che si fa in questo modo:
<%
record = 5
page = Request("£page")
if page="" then
page = 1
end if
apro connessione
rs = ......
with rs
.LockType = 3
.CursorType = 3
.CursorLocation = 3
.ActiveConnenction = conn
.Open "select * from ..."
.PageSize = record
end with
if rs.eof then
....
else
rs.AbsolutePage = page
For i = 1 to record
if not rs.eof then
ciao
rs.movenext
end if
next
end if
..write "Pagine:"
For pag=1 to rs.PageCount
if pag<>cInt(Request("page")) then
...write "<a href=2....?page=" & pag & ">pag</a>
else
write pag & "|"
end if
next
%>
Come si può una cosa simile con JSP?

