首先,配置好jdk环境变量:JAVA_HOME CLASSPATH path
1.将resin3.0.18压缩包解压到一个位置如 C:/resin3018
2.运行小蜻蜓C:/resin3018/httpd.exe
3.在C:/resin3018/webapps/ROOT随便放一个Jsp文件如121.jsp
3.浏览器输入http://localhost:8080/121.jsp
4.得到正常页面
5.安装成功!
这个东西设置虚拟目录也很容易。比如设置一个/test的虚拟目录,该文件夹在d:/test
1.C:/resin3018/conf/resin.conf文件,找到最后几行
2.在<web-app id="/" document-directory="webapps/ROOT"/>
下添加:<web-app id="/test" document-directory="d:/test"/>
3.启动resin,http://localhost:8080/test/ 这个目录就可以访问了!
比起tomcat来,这个东西可是简单多了。