1. Trang chủ
  2. » Công Nghệ Thông Tin

Core servlets and javaserver pages jsp

609 6K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 609
Dung lượng 10,55 MB

Nội dung

[...]... Chapter • What servlets are • When and why you would use servlets • What JavaServer Pages are • When and why you would use JSP • Obtaining the servlet and JSP software • Software installation and setup Home page for this book: http://www.coreservlets.com Home page for sequel: http://www.moreservlets.com Servlet and JSP training courses: http://courses.coreservlets.com © Prentice Hall and Sun Microsystems... static and dynamic resources Using servlets to set up beans for use by JSP pages An on-line travel agency combining servlets and JSP Including JSP output in servlets Forwarding requests from JSP pages Part III: Supporting Technologies Part III covers three topics that are commonly used in conjunction with servlets and JSP: HTML forms, applets talking to servlets, and JDBC Topics include: • • • • •... and pages automatically built from catalog entries How This Book Is Organized Part II: JavaServer Pages JSP provides a convenient alternative to servlets for pages that mostly consist of fixed content Part II covers the use of JavaServer Pages version 1.0 and 1.1 JSP topics include: • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • When and why you would use JavaServer Pages How JSP pages. .. and Sun Microsystems Personal use only; do not redistribute Contents A pp e n d i x Servlet and JSP Quick Reference 518 A.1 Overview of Servlets and JavaServer Pages 519 Advantages of Servlets 519 Advantages of JSP 519 Free Servlet and JSP Software 519 Documentation 520 Servlet Compilation: CLASSPATH Entries 520 Tomcat 3.0 Standard Directories 520 Tomcat 3.1 Standard Directories 520 JSWDK 1.0.1 Standard... for servlet and JSP software Links to all URLs mentioned in the text of the book Information on book discounts Reports on servlet and JSP short courses Book additions, updates, and news xxvii xxviii Introduction 1 Servlets 2.1 and 2.2 Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Overview of Servlets and JavaServer Pages, 4 First Servlets, 20 Handling the... multiple JSP pages and servlets Creating JSP tag libraries Tag handler classes Tag library descriptor files The JSP taglib directive Simple tags Tags that use attributes Tags that use the body content between their start and end tags Tags that modify their body content Looping tags Nested tags xxv xxvi Introduction • • • • • • Integrating servlets and JSP Forwarding requests from servlets to static and dynamic... www.coreservlets.com; Home page for sequel: www.moreservlets.com Servlet and JSP training courses by book’s author: courses.coreservlets.com 7 © Prentice Hall and Sun Microsystems Personal use only; do not redistribute 8 Chapter 1 Overview of Servlets and JavaServer Pages Powerful Servlets support several capabilities that are difficult or impossible to accomplish with regular CGI Servlets can talk directly to the Web... example, in C and C++ it is perfectly legal to allocate a Home page for this book: www.coreservlets.com; Home page for sequel: www.moreservlets.com Servlet and JSP training courses by book’s author: courses.coreservlets.com © Prentice Hall and Sun Microsystems Personal use only; do not redistribute 1.3 JavaServer Pages 100-element array then write into the 999th “element,” which is really some random part... mixed right into the page Home page for this book: www.coreservlets.com; Home page for sequel: www.moreservlets.com Servlet and JSP training courses by book’s author: courses.coreservlets.com 9 © Prentice Hall and Sun Microsystems Personal use only; do not redistribute 10 Chapter 1 Overview of Servlets and JavaServer Pages Listing 1.1 A sample JSP page ... www.coreservlets.com; Home page for sequel: www.moreservlets.com Servlet and JSP training courses by book’s author: courses.coreservlets.com © Prentice Hall and Sun Microsystems Personal use only; do not redistribute 1.4 The Advantages of JSP extensive API for networking, database access, distributed objects, and the like, whereas PHP requires learning an entirely new language Versus Pure Servlets JSP . xxvii About the Web Site xxvii Part 1 Servlets 2.1 and 2.2 2 Chapter 1 Overview of Servlets and JavaServer Pages 4 1.1 Servlets 5 1.2 The Advantages of Servlets Over “Traditional” CGI 7 Efficient. Prentice Hall and Sun Microsystems. Personal use only; do not redistribute. Appendix Servlet and JSP Quick Reference 518 A.1 Overview of Servlets and JavaServer Pages 519 Advantages of Servlets 519 Advantages. parts: Servlets, JavaServer Pages, and Sup- porting Technologies. Part I: Servlets Part I covers servlet development with the 2.1 and 2.2 specifications. Although version 2.2 (along with JSP 1.1)

Ngày đăng: 10/07/2014, 01:41

TỪ KHÓA LIÊN QUAN