<pre name="code" class="cpp">[root@wx03 conf]# ps -ef | grep java
root 31636 31572 0 19:41 pts/2 00:00:00 grep java
[root@wx03 conf]#


http://10.55.118.6:8080/


[root@wx03 awp]# pwd
/usr/local/apache-tomcat-7.0.55/webapps/awp

[root@wx03 awp]# ls
index.html


<Context docBase="awp" path="/" reloadable="false"/>


Context docBase="awp" 等同于<Context docBase="/usr/local/apache-tomcat-7.0.55/webapps/awp"



那么path呢?

如果server.xml配置 path="/api"

对应的访问方式:

http://10.55.118.6:8080/api/