eclipse中搭建resin3运行环境

来源:互联网 发布:怎么在淘宝上加人 编辑:程序博客网 时间:2024/06/07 01:25

在项目的webRoot目录下面新建一个resin.xml文件


文件内容为:

<resin xmlns="http://caucho.com/ns/resin"
       xmlns:resin="http://caucho.com/ns/resin/core">


  <log name="" level="info" path="stdout:"/>


  <server>
    <http server-id="" host="*" port="8080"/>


    <resin:import path="D:\soft\resin-3.0.21\resin-3.0.21/conf/app-default.xml"/>


    <host id="" root-directory=".">
      <web-app id="/" document-directory="D:\eclipsehelloworspace\项目名称\WebRoot"/>
    </host>
  </server>
</resin>















然后localhost:8080访问就可以

0 0
原创粉丝点击