FileServlet

From Resin 3.0

Revision as of 02:17, 17 November 2005 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Resin's file servlet serves plain files. Normally, it's the default servlet if none others match.

parameters

parameter description
character-encoding charset to use as the default
enable-range allow HTTP range encoding

examples

<web-app xmlns="http://caucho.com/ns/resin">
  <servlet servlet-name="resin-file" 
           servlet-class="com.caucho.servlets.FileServlet">
    <init>
      <character-encoding>UTF-8</character-encoding>
    </init>
  </servlet>
</web-app>
Personal tools