1.配置resin
<host id="" root-directory="D:/Program Files/Apache2.2/htdocs"> //修改root-directory到apache的htdocs目录
<web-app id="/" root-directory=""/>//修改root-directory
2配置apache
在loadModule中增加 下面的配置文件
LoadModule caucho_module "G:/resin-3.1.8/win32/apache-2.2/mod_caucho.dll"
<IfModule mod_caucho.c>
ResinConfigServer localhost 6800
<Location /caucho-status>
SetHandler caucho-status
</Location>
</IfModule>
AddHandler caucho-request jsp
<Location /servlet/*>
SetHandler caucho-request
</Location>
ok 启动服务器,在htdocs下面测试即可