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

o'reilly - head first servlets and jsp 2nd edition mar 2008

913 623 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 913
Dung lượng 39,85 MB

Nội dung

[...]... contents Table of Contents (Summary) Intro xix 1 Why use Servlets & JSPs: an introduction 1 2 Web App Architecture: high-level overview 37 3 Mini MVC Tutorial: hands-on MVC 67 4 Being a Servlet: request AND response 93 5 Being a Web App: attributes and listeners 147 6 Conversational state: session management 223 7 Being a JSP: using JSP 281 8 Script-free pages: scriptless JSP 343 9 Custom tags are powerful:... kinds of JSP elements—each with its own purpose and, yes, unique syntax You’ll learn how, why, and what to write in your JSP And you’ll learn what not to write Exam Objectives 282 Create a simple JSP using “out” and a page directive 283 JSP expressions, variables, and declarations 288 Time to see a JSP- generated servlet 296 The out variable isn’t the only implicit object 298 The Lifecycle and initialization... What web servers and clients do, and how they talk? 4 Two-minute guide to HTML 7 What is the HTTP protocol? 10 Anatomy of HTTP GET and POST requests and HTTP responses 16 Locating web pages using URLs 20 Web servers, static web pages, and CGI 24 Servlets Demystified: write, deploy, and run a servlet 30 JSP is what happened when somebody introduced Java to HTML 2 2 34 Web app architecture Servlets need... Most questions are very short and are multiple-choice, and you either know the answer or you don’t What are the questions like? They are almost exactly like our mock exam questions, with one big difference—the real exam tells you how many answers are correct, where we do not You will see a handful of drag -and- drop questions, however, that we can’t do here But drag -and- drop questions are just the interactive... descriptor, and a JSP view Time to build it, deploy it, and test it But first, you need to set up your development environment Next, you need to set up your deployment environment following the servlet and JSP specs and Tomcat requirements True, this is a small app but there’s almost NO app that’s too small to use MVC Exam Objectives 68 Let’s build an MVC application; the first design 72 Create and test... programmer, but if you don’t have any experience, go pick up a copy of Head First Java, right now, and then come back to this book 2 Are you a kick-butt Java programmer looking for a reference book? 3 Are you a Java EE veteran looking for ultra-advanced server techniques, server-specific how-to’s, enterprise architecture, and complex, robust, real-world code? 4 Are you afraid to try something different? Would... Session IDs, cookies, and other session basics 261 Being a JSP A JSP becomes a servlet A servlet that you don’t create The Container looks at your JSP, translates it into Java source code, and compiles it into a full-fledged Java servlet class But you’ve got to know what happens when the code you write in the JSP is turned into Java code You can write Java code in your JSP, but should you? And if not Java... you with that one too How long it takes you to get ready for the exam depends a lot on how much servlets and JSP experience you’ve had If you’re new to servlets and JSP, you might need anywhere from 6 to 12 weeks, depending on how much time you can devote to it each day Those with a lot of recent servlets and JSP experience can often be ready in as little as three weeks you are here� xxix the early review... what with relatives and everything If you’d like to be in the acknowledgments of our next book, and you have a large family, write to us Point of clarification: Bryan is the only co-author we’ve ever had, but that in no way diminishes the intent 1 xxxii intro 1 intro and overview Why use Servlets & JSPs? Hah! I know CGI My website will rule the world You fool! You must use Servlets and JSPs If you continue... can be in a tag body 482 The tag handler, the TLD, and the JSP 483 The taglib is just a name, not a location 484 When a JSP uses more than one tag library 487 xv table of contents 10 When even JSTL isn’t enough Sometimes JSTL and standard actions aren’t enough When you need something custom, and you don’t want to go back to scripting, you can write your own tag handlers That way, your page designers . Development Head First C# Head First JavaScript Head First Programming (2008) Head First Ajax (2008) Head First Physics (2008) Head First Statistics (2008) Head First Ruby on Rails (2008) Head First. First Object-Oriented Analysis and Design (OOA&D) Head Rush Ajax Head First HTML with CSS and XHTML Head First Design Patterns Head First EJB™ Head First PMP Head First SQL Head First Software. 2004: First Edition. March 2008: Second Edition. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. The Head First series designations, Head First Servlets and JSP , Second Edition,

Ngày đăng: 31/03/2014, 16:55

TỪ KHÓA LIÊN QUAN