This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servllet

 
Ramakrishnan thiyagarajan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
what is <jsp:usebean>? I think usebean is used to instantiate a bean component which is used to mediate between client and server.pls clarify my doubt.
 
M. Gagnon
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ramakrishnan thiyagarajan:
hi,
what is <jsp:usebean>? I think usebean is used to instantiate a bean component which is used to mediate between client and server.pls clarify my doubt.


That's fairly accurate. The tag is used in a JSP to instantiate a bean if it hasn't been instantiated already, and to simply use it if it has. The bean can then be accessed in that page as well as in servlets and other JSPs depending on the scope you give it (session, application, request, page). Have you read any books or tutorials on JSP?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic