question about using beans


Web tier: servlets, JSP, Web frameworks: question about using beans

  1. question about using beans (2 messages)

      I had created a bean(scope=session) and added some attributes in a servlet. Then through this servlet I jump to a jsp file. In this file I hope to use this bean with those attributes. I want to know how to declare this bean without again creat this bean.
    simply using <jsp:useBean id="sessionbean" scope="session" class="szsb.SessionBean"></jsp:useBean>
      seems not to work.
      Really need some advice now.

    Threaded Messages (2)

  2. question about using beans[ Go to top ]

    you should post some source code of how you get the bean instance in the servlet

    i'll post more later... it's 4:14 and i have work at 9!
  3. question about using beans[ Go to top ]

       I have settled it now. Thanks