关于Context,这里有个参考
http://tomcat.apache.org/tomcat-5.0-doc/config/context.html
Context其实就是一个WEB应用,web应用发布的方式有两种:一种就是war包,另外是包含同样结构的目录结构。一般会定义docBase以及path。在5.x之后,Context就已经不推荐直接放在server.xml中了,而是在META-INF/context.xml或者在\conf\Catalina\localhost地方:)
Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT recommended to place <Context> elements directly in the server.xml file. Instead, put them in the META-INF/context.xml directory of your WAR file or the conf directory as described above.