On 3/22/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > For data you need to store across lots of requests, you can create a > simple javaclass to hold the data you need. Something like a StateBean > or even a hashmap, the point is that if you have one object that your > storing things in you know where to look if and when you find you need > to address session size. If you have folk adding the world into the > session all over the place, its going to be harder to address any > issues later in the day. e.g. Map state = (Map) > session.getAttribute("state")
Such holder class is already provided by Struts for every action. It is called ActionForm ;) I stick all my action-related... I mean, webresource-related :) stuff into corresponding ActionForm. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]