This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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