FileServlet
From Resin 3.0
(Difference between revisions)
Line 1: | Line 1: | ||
+ | [[Category:Servlet Library]] | ||
+ | |||
Resin's file servlet serves plain files. Normally, it's the default servlet if none others match. | Resin's file servlet serves plain files. Normally, it's the default servlet if none others match. | ||
Latest revision as of 21:58, 11 January 2006
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>