resin改用80端口后会跟IIS端口冲突。你不必把JSP文件放在IIS的虚拟目录下,放在resin/doc下就行了。你这样配置IIS+resin:
1、resin下有个isapi_srun.dll文件,把它拷到IIS的虚拟(InetPub)目录下的scripts目录下.
2、在scripts这个目录下建立resin.ini文件,文件内容为:CauchoConfigFile h:/resin-1.2.5/conf/resin.conf
你改一下就行了。
3、改resin下的resin.conf,你找到<http-server>然后改成下面
-----------------------------
<http-server app-dir='h:\resin-1.2.5\doc'>
<!--
- The root file directory of the server. Apache users will change
- this to /usr/local/apache/htdocs and IIS users will change it
- to d:\inetpub\wwwroot
-->
-------------------------
4、关闭IIS再重起,起动resin
5、在IE地址中输入http://localhost:8080/
就一切OK了。
如果还有问题请发信给我([email protected])
*千成不要把jsp文件放在IIS下的虚拟目录下,否则你的代码会............哈哈
1、resin下有个isapi_srun.dll文件,把它拷到IIS的虚拟(InetPub)目录下的scripts目录下.
2、在scripts这个目录下建立resin.ini文件,文件内容为:CauchoConfigFile h:/resin-1.2.5/conf/resin.conf
你改一下就行了。
3、改resin下的resin.conf,你找到<http-server>然后改成下面
-----------------------------
<http-server app-dir='h:\resin-1.2.5\doc'>
<!--
- The root file directory of the server. Apache users will change
- this to /usr/local/apache/htdocs and IIS users will change it
- to d:\inetpub\wwwroot
-->
-------------------------
4、关闭IIS再重起,起动resin
5、在IE地址中输入http://localhost:8080/
就一切OK了。
如果还有问题请发信给我([email protected])
*千成不要把jsp文件放在IIS下的虚拟目录下,否则你的代码会............哈哈
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货