This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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?
 
Don't get me started about those stupid light bulbs.
 
subject: servllet
 
Similar Threads
Difference between const & final in java ?
what is weblogic clusters?where is it used?
Do you like twitter ?
java unable to recognize class where my IDE does
catching errors on inserts into multiple tables