Hello all,
I have just finished a message forum using jsp and servlets. I want to add the functionality of only displaying the first 15-20 topics at a time, then have a hyperlink to see the next 15-20 results. Should I store my results in a vector and then make a counter which shows the first 15 results, any hints? Thanks
-
Need advice for a message forum (1 messages)
- Posted by: Greg Georges
- Posted on: February 08 2001 13:57 EST
Threaded Messages (1)
- Need advice for a message forum by Kapil Israni on February 08 2001 22:22 EST
-
Need advice for a message forum[ Go to top ]
- Posted by: Kapil Israni
- Posted on: February 08 2001 22:22 EST
- in response to Greg Georges
well in ur case typically the common mistake that we tend to do is get all the data set and use that to display n no of records at a time. though one must keep in mind is that the user might never ever need to go to any page apart from the first page.
the best thing to fetch the data as and when needed and then use your vector to cache.
kapil