½¨Õ¾Ñ§ - ÇáËɽ¨Õ¾´Ó´Ë¿ªÊ¼£¡

½¨Õ¾Ñ§-¸öÈ˽¨Õ¾Ö¸ÄÏ,ÍøÒ³ÖÆ×÷,ÍøÕ¾Éè¼Æ,ÍøÕ¾ÖÆ×÷½Ì³Ì

µ±Ç°Î»ÖÃ: ½¨Õ¾Ñ§ > ÍøÕ¾¿ª·¢ > Java½Ì³Ì >

tomcatÊÇjspÔËÐеÄʲô

ʱ¼ä:2019-08-13 14:21À´Ô´:PHPÖÐÎÄÍø ×÷Õß:Öí¸ç µã»÷: ´Î
tomcatÊÇjspÔËÐеÄƽ̨¡£Tomcat·þÎñÆ÷ÊÇÒ»¸öÃâ·ÑµÄ¿ª·ÅÔ´´úÂëµÄWeb Ó¦Ó÷þÎñÆ÷£¬ÊôÓÚÇáÁ¿¼¶Ó¦Ó÷þÎñÆ÷£¬ÔÚÖÐСÐÍϵͳºÍ²¢·¢·ÃÎÊÓû§²»ÊǺܶàµÄ³¡ºÏϱ»ÆÕ±éʹÓã¬ÊÇ¿ª·¢ºÍµ÷ÊÔJSP ³ÌÐòµÄÊ×Ñ¡¡£
JSPÊÇjava·þÎñÆ÷Ò³Ãæ¡£Tomcat ·þÎñÆ÷ÊÇÒ»¸öÃâ·ÑµÄ¿ª·ÅÔ´´úÂëµÄWeb Ó¦Ó÷þÎñÆ÷£¬ÊôÓÚÇáÁ¿¼¶Ó¦Ó÷þÎñÆ÷¡£tomcatÊÇjspºÍservletµÄÔËÐÐƽ̨¡£

1.JSPÈ«ÃûΪJava Server Pages£¬ÖÐÎÄÃû½Ðjava·þÎñÆ÷Ò³Ã棬Æä¸ù±¾ÊÇÒ»¸ö¼ò»¯µÄServletÉè¼Æ¡£

ËüÊÇÓÉSun Microsystems¹«Ë¾³«µ¼¡¢Ðí¶à¹«Ë¾²ÎÓëÒ»Æð½¨Á¢µÄÒ»ÖÖ¶¯Ì¬ÍøÒ³¼¼Êõ±ê×¼¡£

JSP¼¼ÊõÓеãÀàËÆASP¼¼Êõ£¬ËüÊÇÔÚ´«Í³µÄÍøÒ³HTML£¨±ê׼ͨÓñê¼ÇÓïÑÔµÄ×Ó¼¯£©Îļþ(*.htm,*.html)ÖвåÈëJava³ÌÐò¶Î(Scriptlet)ºÍJSP±ê¼Ç(tag)£¬´Ó¶øÐγÉJSPÎļþ£¬ºó׺ÃûΪ(*.jsp)¡£

ÓÃJSP¿ª·¢µÄWebÓ¦ÓÃÊÇ¿çƽ̨µÄ£¬¼ÈÄÜÔÚLinuxÏÂÔËÐУ¬Ò²ÄÜÔÚÆäËû²Ù×÷ϵͳÉÏÔËÐС£

2.Tomcat ·þÎñÆ÷ÊÇÒ»¸öÃâ·ÑµÄ¿ª·ÅÔ´´úÂëµÄWeb Ó¦Ó÷þÎñÆ÷£¬ÊôÓÚÇáÁ¿¼¶Ó¦Ó÷þÎñÆ÷¡£

ÔÚÖÐСÐÍϵͳºÍ²¢·¢·ÃÎÊÓû§²»ÊǺܶàµÄ³¡ºÏϱ»ÆÕ±éʹÓã¬ÊÇ¿ª·¢ºÍµ÷ÊÔJSP ³ÌÐòµÄÊ×Ñ¡¡£

¶ÔÓÚÒ»¸ö³õѧÕßÀ´Ëµ£¬¿ÉÒÔÕâÑùÈÏΪ£¬µ±ÔÚһ̨»úÆ÷ÉÏÅäÖúÃApache ·þÎñÆ÷£¬¿ÉÀûÓÃËüÏìÓ¦HTML£¨±ê׼ͨÓñê¼ÇÓïÑÔϵÄÒ»¸öÓ¦Óã©Ò³ÃæµÄ·ÃÎÊÇëÇó¡£

ʵ¼ÊÉÏTomcatÊÇApache ·þÎñÆ÷µÄÀ©Õ¹£¬µ«ÔËÐÐʱËüÊǶÀÁ¢ÔËÐеģ¬ËùÒÔµ±ÄãÔËÐÐtomcat ʱ£¬Ëüʵ¼ÊÉÏ×÷Ϊһ¸öÓëApache ¶ÀÁ¢µÄ½ø³Ìµ¥¶ÀÔËÐеġ£

(ÔðÈα༭£ºadmin)
Ö¯ÃζþάÂëÉú³ÉÆ÷
¶¥Ò»ÏÂ
(0)
0%
²ÈÒ»ÏÂ
(0)
0%
------·Ö¸ôÏß----------------------------
·¢±íÆÀÂÛ
Çë×Ô¾õ×ñÊØ»¥ÁªÍøÏà¹ØµÄÕþ²ß·¨¹æ£¬ÑϽû·¢²¼É«Çé¡¢±©Á¦¡¢·´¶¯µÄÑÔÂÛ¡£
ÆÀ¼Û:
񡀂:
Óû§Ãû: ÑéÖ¤Âë:µã»÷ÎÒ¸ü»»Í¼Æ¬