Results 1 to 2 of 2

Thread: Spring beginner needs help with design issue

  1. #1
    Join Date
    Nov 2007
    Posts
    177

    Default Spring beginner needs help with design issue

    Hello,
    I have a request-scoped bean that retrieves a parameter from the browser. I want to subsequently use that same parameter in order to instanciate a session-scoped bean and I do not want the session-bean to be instanciated before the first request is made to the request-scoped bean. The session-scoped bean is a member variable of the request-scoped bean.

    This is the constructor for the session-scoped bean:
    Code:
    public WorkOfArtSuggestionView(Integer myParam) {
       this.myParam = myParam;
    }
    What do you think of my design? How do I go about configuring the xml?

    Thanks in advance,

    Julien.

  2. #2
    Join Date
    Nov 2007
    Posts
    177

    Default please anyone answer my question. I am stuck.

    see subject line

Tags for this Thread

Posting Permissions

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