tomcat 多servlet配置

<servlet>
        <servlet-name>HelloWorld</servlet-name>
        <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>HelloWorld1</servlet-name>
        <servlet-class>HelloWorld1</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>HelloWorld</servlet-name>
        <url-pattern>/HelloWorld</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>HelloWorld1</servlet-name>
        <url-pattern>/HelloWorld1</url-pattern>
    </servlet-mapping>

博客园大道至简

http://www.cnblogs.com/jams742003/

转载请注明:博客园

上一篇:IDEA配置Tomcat Server


下一篇:理解Java当中的回调机制