`
shiyouxu
  • 浏览: 1785 次
  • 性别: Icon_minigender_1
  • 来自: 合肥
文章分类
社区版块
存档分类
最新评论

Head First Servlets and Jsp 第一章

阅读更多

1.HTTP stands for HyperText Transfer Protocol,and is the network protocol used on the Web.It runs on top of TCP/IP.

 

2.HTTP uses a request/response model--the client makes an HTTP request, and the web server gives back an HTTP response that the browser then figures out how to handle(depending on the content type of the response).

 

3.If the response from the server is an HTML page,the HTML is added to the HTTP response.

 

4.An HTTP request includes the request URL(the resource the client is trying to access),the HTTP method(GET,POST,etc.). and (optionally) form parameter data (also called the "query string").

 

5.An HTTP response includes a status code,the content-type (also known as MIME type),and actual content of response (HTML,image,etc.)

 

6.A GET request appends form data to the end of URL.

 

7.A POST request includes form data in the body of the request.

 

8.A MIME type tells the browser what kind of data the browser is about to receive so that the brower will kown what to do with it(render the HTML,display the graphic,play the music,etc.).

 

9.URL stands for Uniform Resource Locator.Every resource on the web has its own unique address in this format.It starts with a protocol,followed by the server name,an optional port number,and usually a specific path and resource name. It can also include an optional query string,if the URL is for a GET request.

 

10.Web servers are good at serving static HTML pages,but if you need dynamicallygenerated data in the pagee (the current time,for example),you need some kind of helper app that can work with the server. The non-Java term for there  helper apps (most often written in Perl) is CGI (which stands for Common Gateway Interface).

 

11.Putting HTML inside a println() statement is ugly and error-prone,but JSPs solve that problem by letting you put Java into an HTML page rather than putting HTML int Java code.

分享到:
评论

相关推荐

    Head First Servlets and JSP(中文版)

    通过应用认知科学和学习理论的新研究成果,《重视大脑的学习指南(中文版)(第2版)》可以让你投入一个需要多感官参与的学习体验,《Head First Servlets and JSP(第2版)(中文版)》采用丰富直观的形式使你的...

    Head First Servlets and JSP 中文版 第2版 PDF电子书下载 带书签目录 完整版.zip

    《Head First Servlets and JSP》是学习Java服务器端编程的经典教材,中文版的第二版为读者提供了深入浅出的学习路径,特别适合初学者和有经验的开发者进行自我提升。这本书详细介绍了Servlets和JSP(JavaServer ...

    Head First Servlets&JSP;-第2版-高清扫描版-带详细书签

    Head First Servlets&JSP;-第2版-高清扫描版-带详细书签 高清扫描版,书签比较详细,和目录一样

    Head First Servlets and JSP 2nd Edition .pdf

    - **Head First Servlets and JSP 2nd Edition**:本书是Head First系列中的一个版本,专注于Servlets和JavaServer Pages (JSP)技术的学习。作为第二版,意味着在第一版的基础上进行了更新和完善,通常会包含更多的...

    Head First Servlets and JSP(中文版) 第三部分(共三部分)

    Head First Servlets and JSP(中文版) 第三部分(共三部分) 在我的资源下可找到其他两部部分 目录 引子 1 为什么使用Servlets&JSP;:前言与概述 2 Web应用体系结构:高层概述 3 MVC迷你教程:MVC实战 4 ...

    Head First Servlets and JSP(中文版) 第二部分(共三部分)

    Head First Servlets and JSP(中文版) 第二部分(共三部分) 在我的资源下可找到其他两部部分 目录 引子 1 为什么使用Servlets&JSP;:前言与概述 2 Web应用体系结构:高层概述 3 MVC迷你教程:MVC实战 4 ...

    Head First Servlets and JSP 中文 第二版

    《Head First Servlets and JSP 中文 第二版》是一本专为初学者设计的Web开发教程,尤其适合已经具备Java编程基础知识的读者。本书以其独特的Head First风格,通过直观、趣味的方式,深入浅出地讲解了Servlet和JSP的...

    Head First Servlets and JSP 中文版 第2版

    《Head First Servlets and JSP 中文版 第2版》是一部深入浅出的教程,旨在帮助读者全面理解和掌握Servlet和JSP技术。本书是Java Web开发领域的经典之作,以其独特的教学方式,通过丰富的图像、幽默的插图以及互动性...

    Head First Servlets and JSP PDF

    《Head First Servlets and JSP》是一本针对初学者深入浅出讲解Servlets和JSP技术的书籍。这本书以其独特的教学方式,通过丰富的图形、幽默的插图和非线性的学习路径,帮助读者轻松理解复杂的Web开发概念。以下是该...

    Head First Servlets and JSP(第2版)

    head first servlets&jsp;(第二版)并没有给你一大堆需要死记硬背的条条框框;它能将知识直接送入你的大脑。你会通过不寻常的方式同servlet和jsp打交道,可以学得更深入、更快捷。读完全书后,你会看到一个全新的模拟...

    Head First Servlets and JSP

    《Head First Servlets and JSP》是一本深受程序员喜爱的IT技术书籍,专注于讲解Servlets和JSP(Java Server Pages)这两个核心的Java Web开发技术。这本书以其独特的、易于理解的"Head First"学习风格,将复杂的...

    Head First Servlets and JSP 中文版

    当前文档为经典教材head first 系列中的Servlet与JSP 版,以图文并茂的形式将Servlet、JSP的世界以一种充满趣味性的方式呈现在我们眼前,适合刚接触前端 、WEB的新手程序猿们!博主从朋友处得到较新的成体系的Web...

    Head first servlets and JSP Second Edition

    《Head First Servlets and JSP 第二版》是一本专门为希望深入理解Servlets和JSP技术的开发者们编写的教材。这本书由Kathy Sierra和Bert Bates共同撰写,他们同时也是Head First系列书籍的作者之一。Head First系列...

    Head First Servlets and JSP 中文版 第2版PDF

    综上所述,《Head First Servlets and JSP》第二版中文版PDF为学习者提供了丰富的资源,通过直观易懂的方式引导他们掌握Servlets和JSP,从而能够构建强大的Web应用程序。这本书不仅适合初学者,也对有一定经验的...

    Head First Servlets and JSP 2nd Edition

    该书名为《Head First Servlets and JSP 第二版》,从标题可以看出这是一本关于Servlets和JSP技术的专业书籍。其中,“Head First”系列是知名的编程学习丛书之一,以其独特的教学方法著称,旨在通过视觉化、互动式...

    Head First Servlets and JSP Second Edition - Part 2

    Best book to learn J2EE Web Component and Pass SCWCD 5 Exam. Volume 2

Global site tag (gtag.js) - Google Analytics