简单的Servlet

Java 2014-06-10 16:50

1,下载配置JDK

2,下载配置Eclipse

3,下载配置Tomcat


src下创建jsp.servlet的package

建立HelloServlet.java文件

package jsp.servlet;
    
import java.io.*;
    
import javax.servlet.http.*;
    
public class HelloServlet extends HttpServlet {
        
        
        
    public void doGet(HttpServle…