Hi all! jsp:usebean id="???" class="myclass" scope="request" I make an object of my bean class in a servlet.Now what should be given as id in the above tag. Thanks.
Michael Hildner
Ranch Hand
Joined: Oct 13, 2000
Posts: 297
posted
0
I think that's up to you. I have a servlet which uses: <jsp:useBean id="usersession" type="com.xpresstrade.clientserver.ejb.usersession.UserSessionSF" scope="session" /> Later on, I access the bean with: <input type="hidden" name="accountID" value="<%= usersession.getUserName()%>"> HTH