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.
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!
I have settled it now. Thanks