aspose file tools*
The moose likes Servlets and the fly likes servllet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servllet" Watch "servllet" New topic
Author

servllet

Ramakrishnan thiyagarajan
Ranch Hand

Joined: Oct 07, 2003
Posts: 57
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

Joined: Feb 18, 2004
Posts: 68
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?
 
wood burning stoves
 
subject: servllet