form表单提交与url大同小异。
Myeclipse创建servlet会自动配置web.xml
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
This is the description of my J2EE component
This is the display name of my J2EE component
CheckServlet
cn.edu.bzu.py.servlet.CheckServlet
CheckServlet
/servlet/CheckServlet
CheckServlet.javapackage cn.edu.bzu.py.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import j