This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use: bean tag

 
Danny Scott
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 297
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic