`
hekeji
  • 浏览: 50270 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Head first for JSP and servlet Learning----2

阅读更多
WEB APPLICATION ARCHITECTURE

1.The container gives your web app communications support, lifecycle management, multithreading support, declarative security, and support for JSPs so that you can concentrate of your own business logic.

2.The container creates a request and response onject that servlets(and other parts of the web app) can use to get information about the request and send information the client.

3.A typical servlet is a class that extends HttpServletRequest and overrides one or more service methods that correspond to HTTP methods  invoked by the browser(doGet() doPost(), etc.)

4.The deployer can map a servlet class to a URL that the client can use to request that servlet. The name may have nothing  to do with the actual class file name..
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics