ECLIPSE WEB TOOLS PLATFORM developing java web applications PHẦN 10

5. Xác định vị trí của thư mục cài đặt GlassFish. Nhập vị trí hoặc chọn nó bằng cách sử dụng nút Browse. Lưu ý rằng một nút duyệt thư mục đã được cung cấp bởi vì các loại tài sản là thư mục. Nhấp vào nút Finish. Runtimes trang ưu tiên cài đặt tại danh sách GlassFish (xem hình 12,13). 6. Bây giờ bạn đã được thêm vào các môi trường thời gian chạy máy chủ GlassFish và đã sẵn sàng để sử dụng nó cho một dự án Web mới. . | Contributing Resources to the XML Catalog 649 A public identifier or publicid provides no hint as to the actual location of a schema or DTD but instead provides a unique identifier for the artifact that you can use to determine the location by some other means such as the XML catalog . A schema s public identifier is its namespace such as http xml ns j2ee and is typically specified by declaring a namespace in an XML document see line 4 in Example earlier . A DTD s public identifier typically specified in a comment in the DTD is specified in an XML file by using the PUBLiC keyword in a DOCTYPE statement see Example . Example J2EE PUBLIC DOCTYPE DOCTYPE web-app PUBLIC - Sun Microsystems Inc. DTD Web Application EN http dtd A system identifier or systemId provides a hint as to the actual location of a schema or DTD. A schema system identifier typically a URL is specified in an XML file using the xsi schemaLocation attribute. This attribute contains a list of paired items where the first item is the schema namespace and the second item is the system identifier see lines 6 and 7 in Example earlier . A DTD system identifier also typically a URL is specified in an XML file using the SYSTEM keyword in a DOCTYPE statement see Example . Example J2EE SYSTEM DOCTYPE DOCTYPE web-app SYSTEM http dtd Every J2EE Web application contains the XML file known as the deployment descriptor see Example which holds configuration details for the application such as servlet mappings. The deployment descriptor is located in the web-inf folder in each application. The deployment descriptor specifies the specific J2EE grammar it requires by declaring a system identifier. For J2EE the system identifier is http xml ns j2ee There are different grammars for the different parts and versions of the J2EE specification. As mentioned earlier .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
4    114    1    29-05-2024
Đã 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.