在web.xml中加入如下配置即可:
<servlet> <servlet-name>default</servlet-name> <servlet-class>org.mortbay.jetty.servlet.DefaultServlet</servlet-class> <init-param> <param-name>useFileMappedBuffer</param-name> <param-value>false</param-value> <init-param> <load-on-startup>0</load-on-startup> </servlet>
-----------------------------------------------------------------------------