You should not do this on ActionForm although this may not leak the data to clients. You could do this on the business logic layer. Basically, a cache machinery need to be added.
--- "Muffat, Shane" <[EMAIL PROTECTED]> wrote: > Does all the data that resides on a user created > ActionForm object get > passed to the client? I'm saving some DB objects > onto my form so I don't > have to go back to the db to get the objects when I > want to persist the > changes from the jsp page. I have a lot of saved > objects on my form object > (ActionForm) that aren't actually meant for the > client to see or use. > Basically, I want to know if I am taking a > performance hit by saving all > this data on my Form class. > > For instance, say I want to save data from the DB > that may end up containing > the equivalent of 1000 tables on a jsp page. I > don't want to display all > those at once...maybe only a few of them, say 10 at > a time. If they change > some options on the page, I do a roundtrip to the > server to display a > different set of 10. I don't want all the > information for the 1000 tables > being sent to the client whether it is shown on the > jsp or not, but I don't > want to go back to the DB to get all this data > either. > > How does this work? > > Thanks in advance, > Shane > > -- > To unsubscribe, e-mail: > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:struts-user-help@;jakarta.apache.org> > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>