Sorry if this has
already been asked, but I've spent quite some time searching for some answers
now and my understanding of servlets/struts/taglibs is not the
best.
We used displaytag
with struts on my last project with much success :) and I would like to do
the same on my current project. But our managers here have started
asking some tricky questions that I didn't have a reliable answers for.
Basically they are concerned about network performance when paging and
memory consumption in the session (our sessions are for
24hr).
I found the
following options in the documentation:
"You can define the scope of the bean adding
one of the following suffix:
pageScope
requestScope (default)
sessionScope
applicationScope"
requestScope (default)
sessionScope
applicationScope"
RequestScope: When paging a large data set, is the
complete data for the bean being passed back and forth on the request/response
between the browser and the web tier?
Sessionscope: Is the complete bean data retrieved on each page
selection, or just the page the user has selected (I presume in this mode I need
to manage the lifetime of the bean in the session manually to avoid any memory
issues due to our long session expiry).
How do the other two options work?
Your help is much appreciated!
Kind Regards
Peter Bridge
--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender. 3166
--------------------------------------------------------------------------------

