很简单的了解了一下servlet和web server。
A servlet is a small Java program that runs within a Web server (例如tomcat). Servlets receive and respond to requests from Web clients, usually across HTTP, the HyperText Transfer Protocol.
一个非常好的入门级文章:
http://keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/
另外参考一下关于servlet的java doc:
http://docs.oracle.com/javaee/6/api/javax/servlet/Servlet.html
To implement this interface, you can write a generic servlet that extends
javax.servlet.GenericServlet or an HTTP servlet that extends javax.servlet.http.HttpServlet.
比较常见的应该是HttpServlet。
本文介绍了Servlet的基本概念,Servlet是一种小型Java程序,运行在Web服务器(如Tomcat)中,用于接收并响应来自Web客户端的请求,通常通过HTTP协议进行交互。文中还提供了入门级教程链接及Servlet的相关Javadoc文档。
462

被折叠的 条评论
为什么被折叠?



