You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by si...@pb.com on 2002/08/27 18:58:44 UTC

Result paging for site search results

All

I am a newbie so if this question sounds a bit simple don't shoot...

I am developing a search page and want to break the results into pages of
containg 25 results per page.  I know I can use the "offset" and "length"
parameters on the iterator tag but I can't seem to be able to pass the
formBean maintaining the results data to the next page...... any ideas

Thanks in advance.

Simon.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Result paging for site search results

Posted by Michael Lee <ml...@hotmail.com>.
I wouldn't send around ResultSets. Use scrollable cursors if your JDBC
driver supports them and do an absolute() to go to the row you need.
thats one way
Michael Lee

----- Original Message -----
From: <si...@pb.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, August 27, 2002 12:58 PM
Subject: Result paging for site search results


>
> All
>
> I am a newbie so if this question sounds a bit simple don't shoot...
>
> I am developing a search page and want to break the results into pages of
> containg 25 results per page.  I know I can use the "offset" and "length"
> parameters on the iterator tag but I can't seem to be able to pass the
> formBean maintaining the results data to the next page...... any ideas
>
> Thanks in advance.
>
> Simon.
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>