无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

resin配置JSP

2021-10-03 23:51 作者:liaojiaohong  | 我要投稿


?

摘要

IIS WEB以其管理操作簡(jiǎn)單和對(duì)ASP的支持而受不少人的喜歡。這里介紹怎么用resin使IIS支持jsp和servlet。?
一、分別安裝配置iis和resin1.1使各自都單獨(dú)能正常運(yùn)行。iis和resin1.1的安裝后路徑如下:c:\apache 和 c:\resin1.1。?
二、配置IIS?
1.拷貝iis_srun.dll 到IIS scripts目錄"c:\inetpub\scripts";?
2.在c:\inetpub\scripts目錄下創(chuàng)建配置文件(resin.ini)用于指定resin的配置文件的位置。?
resin.ini內(nèi)容如下:?

CauchoConfigFile c:/resin1.1/conf/resin.conf?
三、配置resin?
<caucho.com>?
<http-server app-dir=′C:\Inetpub\wwwroot′>?
<servlet-mapping rl-pattern=′/servlets/*′ servlet-name=′invoker′/>?
<servlet-mapping rl-pattern=′*.xtp′ ervlet-name=′com.caucho.jsp.XtpServlet′/>?
<servlet-mapping rl-pattern=′*.jsp′ servlet-name=′com.caucho.jsp.JspServlet′/>?
</http-server>?
</caucho.com>?
四、測(cè)試?
1、 運(yùn)行IIS,啟動(dòng)resin的jsp引擎(運(yùn)行c:\resin1.1\bin\srun.exe)?
2、 把一個(gè)jsp文件(test.jsp )放入IIS的C:\Inetpub\wwwroot目錄下.?
test.jsp如下:?
<%@ page language=java?>?
2+2=<%=2+2%>?

瀏覽http://localhost:port/test.jsp。你將看到:2+2=4<??這個(gè)結(jié)果?

注:port為端口號(hào),調(diào)試環(huán)境nt4.0+iis+resin1.1

IIS WEB以其管理操作簡(jiǎn)單和對(duì)ASP的支持而受不少人的喜歡。這里介紹怎么用resin使IIS支持jsp和servlet。?
一、分別安裝配置iis和resin1.1使各自都單獨(dú)能正常運(yùn)行。iis和resin1.1的安裝后路徑如下:c:\apache 和 c:\resin1.1。?
二、配置IIS?
1.拷貝iis_srun.dll 到IIS scripts目錄"c:\inetpub\scripts";?
2.在c:\inetpub\scripts目錄下創(chuàng)建配置文件(resin.ini)用于指定resin的配置文件的位置。?
resin.ini內(nèi)容如下:?

CauchoConfigFile c:/resin1.1/conf/resin.conf?
三、配置resin?
<caucho.com>?
<http-server app-dir=′C:\Inetpub\wwwroot′>?
<servlet-mapping rl-pattern=′/servlets/*′ servlet-name=′invoker′/>?
<servlet-mapping rl-pattern=′*.xtp′ ervlet-name=′com.caucho.jsp.XtpServlet′/>?
<servlet-mapping rl-pattern=′*.jsp′ servlet-name=′com.caucho.jsp.JspServlet′/>?
</http-server>?
</caucho.com>?
四、測(cè)試?
1、 運(yùn)行IIS,啟動(dòng)resin的jsp引擎(運(yùn)行c:\resin1.1\bin\srun.exe)?
2、 把一個(gè)jsp文件(test.jsp )放入IIS的C:\Inetpub\wwwroot目錄下.?
test.jsp如下:?
<%@ page language=java?>?
2+2=<%=2+2%>?

瀏覽http://localhost:port/test.jsp。你將看到:2+2=4<??這個(gè)結(jié)果?

注:port為端口號(hào),調(diào)試環(huán)境nt4.0+iis+resin1.1

?


resin配置JSP的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
寿光市| 乌什县| 蓬莱市| 永川市| 阳春市| 道孚县| 若尔盖县| 方城县| 德昌县| 凤翔县| 金塔县| 宝兴县| 读书| 鹤峰县| 阳信县| 福鼎市| 浦东新区| 辽中县| 红桥区| 新营市| 门头沟区| 格尔木市| 河池市| 商丘市| 进贤县| 吉林市| 阿勒泰市| 九龙县| 乌鲁木齐县| 多伦县| 陕西省| 开封县| 涿州市| 西昌市| 双峰县| 南通市| 麻栗坡县| 启东市| 固镇县| 留坝县| 萝北县|