Results 1 to 3 of 3

Thread: How to access model objects from old forms

  1. #1

    Default 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 at 12:24 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    1,905

    Default

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

  3. #3

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •