caucho
Resin
FAQ
Reference Guide
Demo
Tutorial

Getting Started
Configuration
IDE
Topics
JSP
XML/XSLT

Virtual Hosts
Balancing
Distributed Sessions
Caching
JavaScript
Filters
Servlets
Admin
WebDAV
Velocity
EJB Clients
JMX
Burlap
Hessian
 Admin

Servlets
Topics
WebDAV

Resin 2.0.5 provides a primitive status servlet /resin-status. It's disabled by default to avoid any security issues. The servlet must be enabled explicitly, like:

<web-app id='/admin'>
  <allow-admin>true</allow-admin>
  <servlet-mapping url-pattern='/resin-status'
                   servlet-name='com.caucho.http.servlet.ResinStatusServlet'>
    <init-param enable='read'/>
  </servlet-mapping>

  <!-- only allow the localhost to use the admin --> 
  <security-constraint>
    <ip-constraint>127.0.0.1/32</ip-constraint>

    <web-resource-collection>
      <url-pattern>/*</url-pattern>
    </web-resource-collection>
  </security-constraint>
</web-app>

The allow-admin also puts a com.caucho.http.admin.ApplicationAdmin object in the servlet context as caucho.admin.


Servlets
Topics
WebDAV
Copyright © 1998-2002 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.