This tag makes the specified bean object available to the page. It is essentially the same as <jsp:useBean> except that it interoperates with the other bean tags in this tag library.
Empty
If the name attribute is not specified then uses a parent bean tag to locate the bean on which to operate. The type attribute specifies the java class name of the object to use or create.
This tag has the following attributes for which the Required values are “No” and “Yes”:
Name of the bean to create.
Name of the bean to use.
Type of the bean; a java class name.
All the bean properties of the bean type created are available.
<%-- make a date available --%> <util:bean type="java.util.Date"> date = <util:get/> </util:bean> <%-- make a named date available --%> <util:bean id="date" type="java.util.Date"/> date = <util:get name="date"/> </util:bean>