在form的action中直接写在web.xml中配置的的名字。例如:AdminLogincom.java.servlet.AdminLogin22AdminLogin/AdminLogin在form的action中就直接写AdminLogin就行了。