Announcement Announcement Module
Collapse
No announcement yet.
How to access model objects from old forms Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to access model objects from old forms

    I want to store a list (that was fetched from the DB on the first form) to use in a form that is several forms later in the application ? Should I just use request.getSession().setAttribute(listName,listRef ) to store my list or is there a better or (Springy) way to do this ?
    Last edited by springcleaning; Dec 1st, 2005, 12:24 AM.

  • #2
    Why not just retrieve the list again when you need it? Yes, keeping it in session would be the right thing.

    Comment


    • #3
      I want to reduce the amount of db operations for performance sake.

      Comment

      Working...
      X