server.xml中 appBase和docBase是什么意思?
server.xml中 appBase和docBase是什么意思?
这两个属性应该如何设置?
哪位给点例子和解说?
问题点数:20、回复次数:6Top
1 楼cuixiping(无心●愚公)回复于 2005-02-04 10:14:32 得分 0
为何无人来?Top
2 楼singedcat(以夢為馬)回复于 2005-02-04 10:59:03 得分 5
upTop
3 楼cuixiping(无心●愚公)回复于 2005-02-15 14:51:26 得分 0
uuppTop
4 楼cuixiping(无心●愚公)回复于 2005-02-17 17:27:07 得分 0
再顶Top
5 楼cuixiping(无心●愚公)回复于 2005-02-20 13:23:11 得分 0
为何无人来?Top
6 楼jFresH_MaN(十一月的萧邦-夜曲)回复于 2005-02-20 13:30:52 得分 15
appBase <Host>里面的属性
The Application Base directory for this virtual host. This is the pathname of a directory that may contain web applications to be deployed on this virtual host. You may specify an absolute pathname for this directory, or a pathname that is relative to the $CATALINA_HOME directory. See Automatic Application Deployment for more information on automatic recognition and deployment of web applications to be deployed automatically
docBase <Contex>里面的属性
The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being executed directly from the WAR file). You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host.
摘自tomcat文档Top




