JSP application syntax (3)

Source: Internet
Author: User

12) labels:
Id = "beaninstancename"
Scope = "Page | request | session | application"
{
Class = "package. Class" |
Type = "package. Class" |
Class = "package. Class" type = "package. Class" |
Beanname = "{package. Class |}" type = "package. Class"
}
/> Other elements
To create a JavaBeans component, you first try to locate a bean instance. If it does not exist, a new one will be created.
Attribute:
-ID = "Name of the created bean variable"
Confirm the bean variable in the scope you define. You can use this variable name in subsequent programs to distinguish the variable names of different beans from the variable names that are case sensitive, if this bean has already been created in another project, the value of this ID must be consistent with the original one.
-Scope = "Page | request | session | application" Bean's valid range and ID variable name. The default value is page.
13) labels:
Type = "bean | applet"
Code = "classfilename"
Codebase = "classfiledirectoryname"
[Name = "instancename"]
[Archive = "uritoarchive,..."]
[Align = "bottom | top | Middle | left | right"]
[Height = "displaypixels"]
[Width = "displaypixels"]
[Hspace = "leftrightpixels"]
[Vspace = "topbottompixels"]

[Jreversion = "Maid number | 1.1"]
[Nspluginurl = "urltoplugin"]
[Iepluginurl = "urltoplugin"]>
[
[
[]
[Text message for user]

Read the full text:Http://www.javah.net/JSP_JSF/20070506/791.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.