TAILIEUCHUNG - Java Server Pages: A Code-Intensive Premium Reference- P2

Java Server Pages: A Code-Intensive Premium Reference- P2:Before you begin reading Pure JSP Java Server Pages, you might want to take a look at its basic structure. This should help you outline your reading plan if you choose not to read the text from cover to cover. This introduction gives you an overview of what each chapter covers. | jsp useBean The jsp useBean action associates an instance of a JavaBean defined with a given scope and ID via a newly declared scripting variable of the same ID. The jsp useBean action will be covered in more detail in Chapter 3 JavaBeans and JSP Concepts. jsp setProperty The jsp setProperty action sets the value of a bean s property. The jsp setProperty action will be covered in more detail in Chapter 3. jsp getProperty The jsp getProperty action takes the value of the referenced bean instance s property converts it to a and places it into the implicit out object. This action will be covered in more detail in Chapter 3. jsp include The jsp include action provides a mechanism for including additional static and dynamic resources in the current JSP page. The syntax for this action is as follows jsp include page urlSpec flush true and jsp include page urlSpec flush true jsp param . jsp include The first syntax example illustrates a request-time inclusion whereas the second contains a list of param sub-elements that are used to argue the request for the purpose of inclusion. Table contains the attributes and their descriptions for the jsp include action. Table The Attributes for the jsp include Action Attribute Definition page This attribute represents the relative URL of the resource to be included. flush This attribute represents a mandatory Boolean value stating whether or not the buffer should be flushed. jsp forward The jsp forward action enables the JSP engine to dispatch at runtime the current request to a static resource servlet or another JSP. The appearance of this action effectively terminates the execution of the current page. Note A jsp forward action can contain jsp param sub-attributes. These subattributes provide values for parameters in the request to be used for forwarding. The syntax of the jsp forward action is as follows jsp forward page relativeURLspec and jsp forward page relativeURLspec jsp param . jsp forward Table .

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.