The power that be have dictated that a mega search against the DB will be fired off 1 time, and all the results will be returned to my Struts 2 app for me to deal with. (Rather than my suggestion of sending a request for 1 page worth of information as most people would suggest)

So now my question is ... how? I have a list of 5000 records. I want to initially show them a 100 of these records, with a nice Prev / Next feature. 1. Where / how do I safely store this list for this user? Obviously it needs to be saved somewhere so it is not lost once the request is done. Is this something that should be dropped into the session? Or is there a Struts way of doing things like this?

2. As for tracking where in the list the paging is, I would assume I could store an iterator number to track what record was last displayed, no?

#1 is the piece I am truly looking for expert insight on, as the total list could be 10000 records or more. (Don't ask me, I don't make their sandbox, I just play in it.)

Skip Hollowell



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to