Need advice for a message forum


Web tier: servlets, JSP, Web frameworks: Need advice for a message forum

  1. Need advice for a message forum (1 messages)

    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
  2. Need advice for a message forum[ Go to top ]

    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.