TAILIEUCHUNG - Head First Servlets and JSP phần 2

Không có một phần của nó có thể được sao chép, truyền đi dưới bất kỳ hình thức nào bởi bất kỳ phương tiện mà không cần sự cho phép trước bằng văn bản cho in lại và trích dẫn từ nhà xuất bản. Tái phân phối hoặc sử dụng khác vi phạm quyền sử dụng hợp lý theo luật bản quyền Hoa Kỳ | Chapter 3. Mini MVC Tutorial servlet mapping Mapping the logical name to a servlet class file Q biane fills out the form and hits submit. The generates the request URL Beer-vl browser POST 6eer The host Thtwtb app TV1C I eal resource server Context root- root- ---------------------- Client Container U-Va f J -p__nou .L-. Sek rd -OA. 14-s or- I Y ft r-M the root oV w The Container searches the bb and finds a servlet-mapping with a url-pattern that matches where the slash represents the context root of the web app and is the logical name of a resource. Container Container The Container sees that the servletname for this url-pattern is Ch3 Beer . But that isn t the name of an actual servlet class file. Ch3 Beer is the name of a servlet not a servlet c ass To the Container a servlet is something named in the bb under a servlet tag. The name of the servlet is simply the name used in the bb so that other parts of the bb can map to it. 78 chapter3 Chapter 3. Mini MVC Tutorial Head First Servlets and JSP By Bert Bates Kathy Sierra Bryan Basham ISBN 0596005407 Publisher O Reilly Prepared for Stephen Goss Safari ID stephengoss@ Print Publication Date 8 1 2004 User number 747221 Copyright 2007 Safari Books Online LLC. This PDF is exclusively for your use in accordance with the Safari Terms of Service. No part of it may be reproduced or transmitted in any form by any means without the prior written permission for reprints and excerpts from the publisher. Redistribution or other use that violates the fair use priviledge under . copyright laws see 17 USC107 or that otherwise violates the Safari Terms of Service is strictly prohibited. Chapter 3. Mini MVC Tutorial hands-on 1VC The Container looks inside the servlet tags for something with the servlet-name Ch3 Beer . The Container uses the servlet-class in the servlet tag to know which servlet class is responsible for handling this request. If the servlet has not been .

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.