猛跑小猪
web.xml配置servlet,然后在用配置的名访问<servlet><servlet-name>ok</servlet-name><servlet-class>com.java.servlet.AdminLogin</servlet-class></servlet><servlet-mapping><servlet-name>ok</servlet-name><url-pattern>/action</url-pattern></servlet-mapping><form method="post" action="action">