resin3状态监视 resin-status配置

在resin.conf文件下的<web-app-default>元素下加入以后数据

  <servlet-mapping servlet-class='com.caucho.servlets.ResinStatusServlet'>
        <url-pattern>/resin-status</url-pattern>
        <init enable="read"/>
      </servlet-mapping>

      <security-constraint>
        <web-resource-collection url-pattern="/resin-status/*"/>
        <ip-constraint>
          <allow>127.0.0.1/32</allow>
        </ip-constraint>
      </security-constraint>

 访问:http://127.0.0.1:8080/resin-status

你可能感兴趣的:(Web,servlet,Security)