1 默认情况下,resion能自动编译java代码。 而tomcat不行。 2 它们的配置文件(server.xml与httpd.conf,有些说明也是不同的。session-timeout与keepalive)