如何在resin中配置虚拟目录
时间:2008-11-09 来源:hkebao
在ASP中我们可以配置虚拟目录,在RESIN中也是可以配置的。这样的话在URL中输入:
http://localhost:8000/test/Linux/Login.jsp
即可以访问了。以后在我们真实的目录下面用MY进行开发同步刷新页面就OK 了。
<!-- configures the default host, matching any host name -->
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-
-->
<web-app id="/test" root-directory="E:\LinuxTest\LinuxText\WebRoot"/>
http://localhost:8000/test/Linux/Login.jsp
即可以访问了。以后在我们真实的目录下面用MY进行开发同步刷新页面就OK 了。
<!-- configures the default host, matching any host name -->
<host id="" root-directory=".">
<!--
- configures an explicit root web-app matching the
- webapp's ROOT
-
-->
<web-app id="/test" root-directory="E:\LinuxTest\LinuxText\WebRoot"/>
相关阅读 更多 +