On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > Population of indexed properties is a nice gift, but then I cant think > of many situations where needing to scope anything that extreme is > required. A bean with simple properties will do > > <jsp:useBean id="state" class="foobar.State" scope="session" /> > <jsp:setProperty name="state" property="*" /> > > takes care of any simple properties
I don't want to argue with you either :) I use session-scoped actionforms, so it is simpler for me to stick everything related to a resource in an actionform. > Another consideration is the increased popularity of xmlhttprequest to > have the client make requests, if a front end updates from the server > at any intervals. All you need is are users leaving a browser window > open to increase the amount of active sessions on the container. I don't use Ajax autoupdate. But even if I did I would use session to store Ajax-related stuff. Otherwise when a user hits Reload button, all stuff is gone. Check out Backbase Pet Shop demo. Apparently these guys don't use session. Pet Shop is a demo, but I would not want to lose my shopping cart because of accidental refresh. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]