tomcat8.0.x虚拟目录配置

1.conf目录下新建Catalina目录,然后在Catalina目录下新建localhost目录,在localhost目录下新建abc.xml文件,
内容:

2.重启tomcat,访问http://https://https://amyflash.com:port/abc 既访问c:/myweb/t1这个虚拟目录

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>