µ±Ç°Î»ÖãºLinux½Ì³Ì - Apache - °²×°ÅäÖÃƪ--apache+resin

°²×°ÅäÖÃƪ--apache+resin

Èç¹ûÄãµÄÍøÕ¾Êǽ¨Á¢ÔÚapacheÏÂÏÖÔÚÓÖÏëʹÓÃjsp,Ôõô°ìÄØ£¿Äã¿ÉÒÔͨ¹ýһЩ֧³ÖapacheµÄjspÒýÇæ(Èçresin,tomcat,jserµÈ)À´ÊµÏÖ¡£ÕâÀï½éÉÜÔõôÅäÖÃapache+resinʹapacheÖ§³Öjsp¡£

Ò»¡¢·Ö±ð°²×°ÅäÖÃapacheºÍresinʹ¸÷×Ô¶¼µ¥¶ÀÄÜÕý³£ÔËÐС£
¡¡¡¡ apacheºÍresinµÄ°²×°ºó·¾¶ÈçÏ£ºc:apache ºÍ c: esin1.1¡£


¶þ¡¢ÅäÖÃapache
¡¡¡¡ÕâÀïÅäÖÃapache£¬Ê¹Æä×°ÔØresinµÄjspÒýÇæ¡£Ôö¼ÓÈçϵÄÃüÁîÐе½c:apacheconfhttp.confÅäÖÃÎļþÖÐ.
LoadModule aucho_module

Èý¡¢ÅäÖÃresin
¡¡¡¡ÐÞ¸ÄrseinµÄÅäÖÃÎļþ(c: esinconf esin.conf),Ö¸¶¨ÆäÔÚapacheϵÄjspµÄ¹¤×÷Ŀ¼¡£ÐÞ¸ÄÈçÏ£º









ËÄ¡¢²âÊÔ
¡¡¡¡Íê³ÉÒÔÉϲ½ÖèºóapacheÒѾ­Ö§³ÖjspºÍservlet. ÔËÐÐapache,Æô¶¯resinµÄjspÒýÇæ(ÔËÐÐc: esin1.1insrun.exe).
jspµÄÔËÐÐĿ¼ΪapacheµÄhtdocsÏ£¬¶øservletÔËÐÐĿ¼Ϊ""c:apachehtdocsWeb-infclass""
°ÑÒ»¸öjspÎļþ(test.jsp )·ÅÈëapacheµÄhtdocsĿ¼ÏÂ
test.jspÈçÏ£º
<%@ page language=java?>
2+2=<%=2+2%>
ä¯ÀÀhttp://localhost:port/test.jsp Ä㽫¿´µ½£º2+2=4Õâ¸ö½á¹û.

×¢£º µ÷ÊÔ»·¾³win98+apache_1_3_12+resin1.1 £¬portΪWEB·þÎñÆ÷¶Ë¿ÚºÅ