一、Servlet的继承:
HttpServlet extends GenericServlet implements Servlet(interface)
HttpServlet是抽象类,需要被继承实现
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="E:\workspace\day6firstservlet\webapp"/> (注意Context第一个字母大写)
</Host>