Anand: Thank you. I have one more question.in your previous email, you said "We have used the jspTags pager for recordsets more than 2500 records(one time query)".My understanding is that you got all the records one time from Database. Where did you keep those records? Is it in session, or somewhere? The middle tier developer in our company wants to get 20 records(20 records/page)from Database at one time. For example, in order to display the first page, the first 20 records will be retrieved from database. When user click next,next 21-40 records will be retrieved and displayed on the next page.The reason he wants to do it that way is he doesn't want to keep many records in session. For me, I prefer to retrieve all records once. I think I should convince him. But I am not sure I have enough reasons. Could you please give me your suggestons, and your solutions? I really appreicate your help.
Thank you very much. Jenny ----- Original Message ----- From: "Anand Belaguly" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, September 14, 2002 5:20 PM Subject: RE: does struts has the functionality > Jenny, > > I believe you can use the arrows instead of pages. You can even put > images developed by your graphic designers. > > Here is the code snippet. > <%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %> > > <pg:pager> > <pg:param name="keywords"/> > > <ex:searchresults> > <pg:item> > <%= searchResult %> > </pg:item> > </ex:searchresults> > > <pg:index> > <pg:prev> > <a href="<%= pageUrl %>">[<-- Back]</a> > </pg:prev> > <pg:next> > <a href="<%= pageUrl %>">[ Next --> ]</a> > </pg:next> > </pg:index> > </pg:pager> > > Hope this helps. > Anand > > > -----Original Message----- > From: Jenny [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 14, 2002 12:14 PM > To: Struts Users Mailing List > Subject: Re: does struts has the functionality > > > Anand: > > Thanks for your valuable information. It is very helpful.I am going to use > it. One more question(sorry to bother you again), the designer wants to use > "->" "<-"(graphic staff) instead of using numbers for page navigation. Since > jspTags pager uses build-in variable "pageNumber", it is not possible to > achieve what the designer wants. Is my understanding right? I really > appreciate your reply. > Thank you in advance for your reply. > > Best regards, > > Jenny > > > ----- Original Message ----- > From: "Anand Belaguly" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Saturday, September 14, 2002 1:58 PM > Subject: RE: does struts has the functionality > > > > Jenny, > > > > Thanks for the link, it looks good.I will try it sometime. > > We have used the jspTags pager for recordsets more > > than 2500 records(one time query) and it gets displayed in less > > than 2 seconds.Also it is very easy to use, you just > > need to encapsulate ur presentation logic with these tags. > > > > Anand > > > > -----Original Message----- > > From: Jenny [mailto:[EMAIL PROTECTED]] > > Sent: Friday, September 13, 2002 7:18 PM > > To: Struts Users Mailing List > > Subject: Re: does struts has the functionality > > > > > > Anand: > > > > Thanks for your reply. This is an excellent link. I also got another link > > from Dave(in our group). The link URL is: > > http://edhill.its.uiowa.edu/display/. I am not sure if you knew that link. > > Both the link you provided and the above link are excellent. Now, I am not > > sure which one should I choose. I have large results sets. Does the > solution > > you provided me has performance issue? I appreciate your opinions on this. > > > > Thanks, > > > > Jenny > > > > > > > > ----- Original Message ----- > > From: "Anand Belaguly" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Friday, September 13, 2002 4:42 PM > > Subject: RE: does struts has the functionality > > > > > > > This works pretty good. > > > > > > http://jsptags.com/tags/navigation/pager/ > > > > > > Anand > > > > > > -----Original Message----- > > > From: jenny zhang [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, September 13, 2002 1:32 PM > > > To: Struts Users Mailing List > > > Subject: does struts has the functionality > > > > > > > > > Hi, there: > > > > > > Does struts has the functionality of supporting page > > > navigation? I have over 100 search results, I would > > > like display them inseperate pages(10 records/page). > > > In each page, I would like have previous, next button. > > > I am not sure if struts has the functionality. If you > > > know this, could you please share the info? I > > > appreciate your info. > > > > > > Thanks > > > > > > > > > > > > > > > ______________________________________________________________________ > > > Post your free ad now! http://personals.yahoo.ca > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > ______________________________________________________________________ > > Post your ad for free now! http://personals.yahoo.ca > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > ______________________________________________________________________ > Post your ad for free now! http://personals.yahoo.ca > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ______________________________________________________________________ Post your ad for free now! http://personals.yahoo.ca -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>