JavaBeans and JavaServer Pages combined with the above learning, everyone should have a basic understanding of Javabean. For JavaBeans, we need to know some specific JSP content, let's take a look. JavaBean Related Tags in JavaServer Pages Call JavaBean has three standard tags in JavaServer Pages, which is , , and . Tags You can define an instance of JavaBean with a certain survival and a unique ID, so JavaServer Pages identify JavaBean through ID.Method, and you can operate JavaBean. During the execution, will first try to find a JavaBean instance that already exists with the same ID and scope values, and if you do not create a new instance. The specific syntax is as follows body jsp: usebean> where TypeSpec defines the following typespec :: = Class =" classname "| class = "Classname" type = "type =" type "class =" classname "| beanname =" beanname "type =" typeename "| type =" typename "beanname =" beanname "| type =" type = "type =" Typename "below Yes, the meaning of the related properties in the tag and the definition ID id attribute is the unique sign of the Javabean object, which represents an instance of a JavaBean object. It has a specific existence range (Page | Request | Session | Application). The JavaBean is identified by ID in JavaServer Pages. The Scope Scope property represents the living time of the JavaBean object, which can be one of the Page, Request, Session, and Application. Class represents the Class name of the JavaBean object, with special attention to the case is exactly the same. The beanname beanname property represents the name of the bean, which is usually initialized by the instantiate () method of java.beans.beans class. The Type Type property specifies the type of script variable definition, the default is the consistency of the script variable definition and the properties in the Class, which generally uses the default value Tag another standard label is tag, It is mainly used to set the properties value of the bean. The syntax in JavaServer Pages is as follows: where the Name property represents a JavaBean instance that already exists and has a certain survival range (Scope).