TAILIEUCHUNG - The j2eetm tutorial - phần 7

Phiên bản của thư viện thẻ. Phiên bản đặc tả JSP thẻ thư viện yêu cầu. Tùy chọn tên có thể được sử dụng bởi một công cụ authoring trang JSP để tạo ra tên với giá trị ghi nhớ. URI xác định duy nhất các thư viện thẻ | Defining Tags 211 The root of a TLD is the taglib element. The subelements of taglib are listed in Table 22 Table 22 taglib Subelements Element Description tlib-version The tag library s version. jsp-version The JSP specification version the tag library requires. short-name Optional name that could be used by a JSP page authoring tool to create names with a mnemonic value. uri A URI that uniquely identifies the tag library. display-name Optional name intended to be displayed by tools. small-icon Optional small-icon that can be used by tools. large-icon Optional large-icon that can be used by tools. description Optional tag-specific information. listener See Listener Element page 211 . tag See Tag Element page 211 . Listener Element A tag library can specify some classes that are event listeners see Monitoring Servlet Life Cycle Events page 140 . The listeners are listed in the TLD as listener elements and the web container will instantiate the listener classes and register them in a way analogous to listeners defined at the WAR level. Unlike WAR-level listeners the order in which the tag library listeners are registered is undefined. The only subelement of the listener element is the listenerclass element which must contain the fully-qualified name of the listener class. Tag Element Each tag in the library is described by giving its name and the class of its tag handler information on the scripting variables created by the tag and information on the tag s attributes. Scripting variable information can be given directly in the TLD or through a tag extra info class see Tags That Define Scripting 212 Custom Tags in JSP PAGES Variables page 218 . Each attribute declaration contains an indication of whether the attribute is required or not whether its value can be determined by request-time expressions and the type of the attribute see Tags With Attributes page 213 . A tag is specified in a TLD in a tag element. The subelements of tag are listed in Table 23 Table 23 tag

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.