Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JSPÈëÃÅ

JSP¿ª·¢ÈëÃÅ
 
¸ÅÊö£º
JSP(Java Server Pages)ÊÇÓÉSun Microsystems¹«Ë¾³«µ¼¡¢Ðí¶à¹«Ë¾²ÎÓëÒ»Æð½¨Á¢µÄÒ»ÖÖ¶¯Ì¬ÍøÒ³¼¼Êõ±ê×¼¡£JSP¼¼ÊõÓеãÀàËÆASP¼¼Êõ£¬ËüÊÇÔÚ´«Í³µÄÍøÒ³HTMLÎļþ(*.htm,*.html)ÖвåÈëJava³ÌÐò¶Î(Scriptlet)ºÍJSP ±ê¼Ç(tag)£¬´Ó¶øÐγÉJSPÎļþ(*.jsp)¡£ ÓÃJSP¿ª·¢µÄWebÓ¦ÓÃÊÇ¿çƽ̨µÄ£¬¼ÈÄÜÔÚLinuxÏÂÔËÐУ¬Ò²ÄÜÔÚÆäËû²Ù×÷ϵͳÉÏÔËÐС£
 
¼ò½é£º
JavaServer Pages (JSP) ÊÇÒ»ÖÖÒÔ JavaΪÖ÷µÄ¿çƽ̨web¿ª·¢ÓïÑÔ¡£
¡¡¡¡JSPÓë΢ÈíµÄActive Server Pages ¼æÈÝ£¬µ«ËüÊÇʹÓÃÀàËÆHTMLµÄ¾í±êÒÔ¼°Java³ÌÐò´úÂë¶Î¶ø²»ÊÇVBScript¡£µ±ÄãËùʹÓõÄÍøÕ¾·þÎñÆ÷ûÓÐÌṩ±¾µØASPÖ§³Ö£¬Ò²¾ÍÊÇApache »òNetscape·þÎñÆ÷ʱ£¬Äã¿ÉÒÔ¿¼ÂÇʹÓÃJSP¡£ËäÈ»Äã¿ÉÒÔÈ¡µÃÕâЩ·þÎñÆ÷µÄASP¸½¼ÓÅ䱸ģ¿é£¬µ«¼Û¸ñÏ൱°º¹ó£¬¶øÄ¿Ç°Sun²¢Ã»ÓжÔÄãËùÐèÒªµÄ JSP×é¼þÊÕÈ¡·ÑÓÃ(ËäÈ»SunδÀ´ÓпÉÄÜ»áÊÕ·Ñ)¡£¶ÔÓÚSolarisÓëLinuxÒÔ¼°Windows£¬ÕâЩ×é¼þÒ²¶¼ºÜÈÝÒ×È¡µÃ¡£¡¡
¡¡¡¡Çë²»Òª½«JSPÓë·þÎñÆ÷¶ËµÄJavaScript»ìΪһ̸¡£ÍøÕ¾·þÎñÆ÷»á×Ô¶¯½«ÒÔJSPд³ÉµÄJava³ÌÐò´úÂë¶Îת»»³ÉJava servlets¡£¶øÐí¶àÏÈÇ°±ØÐëÒÔPerlÊÖд³ÌÐò»ò·þÎñÆ÷Ìض¨µÄAPI£¨ÈçASP£©¿ØÖƵŦÄÜÒ²¶¼¿É͸¹ýJSPÀ´×Ô¶¯»¯´¦Àí¡£
¡¡¡¡ÏÖÔÚ¾ÍÈÃÎÒÃÇ¿ªÊ¼¶¯ÊÖ°ïÖúÄ㽨Á¢Ò»¸ö¿ÉÖ´ÐÐJSP·¶ÀýÍøÕ¾¡£
¡¡¡¡Ò»¡¢°²×°ºÃÄãµÄ»úÆ÷À´Ê¹ÓÃJSP
¡¡¡¡¶þ¡¢JSPÓï·¨µÄ»ù±¾Ô­Àí
¡¡¡¡Èý¡¢JSPÓëJavaBean
¡¡¡¡ËÄ¡¢JSPµÄÄÚ²¿¶ÔÏó
¡¡¡¡Îå¡¢JSPÆäËûÏà¹Ø×ÊÔ´
¡¡¡¡JSP¿ª·¢ÈëÃÅ2
¡¡¡¡°²×°ºÃÄãµÄ»úÆ÷À´Ê¹ÓÃJSP
¡¡¡¡Ä㽫»áÐèÒªJava 2Èí¼þ¿ª·¢¹¤¾ß(JSDK)£¬ËüÔ­À´µÄÃû³ÆÊÇJava¿ª·¢¹¤¾ß(JDK)ÒÔ¼°JavaServerÍøÕ¾¿ª·¢¹¤¾ß(JSWDK)£¬Tomcat£¬»òÊÇÆäËüÖ§³ÖJSPµÄÍøÂç·þÎñÆ÷¡£SunÃâ·ÑÌṩJSDKÓëJSWDKÀ´¹©Windows£¬Solaris£¬ÒÔ¼°Linuxƽ̨ʹÓᣡ¡
¡¡¡¡Èç¹ûÄãÏëÒªÔÚÄãÄ¿Ç°µÄÍøÂç·þÎñÆ÷ÉÏʹÓÃJSP£¬µ«·þÎñÆ÷±¾Éí²¢²»Ö§³ÖJSPÓëJava servlets£¬Äã¿ÉÒÔÊÔÊÔ¿´AllaireµÄJrun£¬ËüµÄ×÷ÓþÍÏñÊÇÕë¶ÔNetscapeÆóÒµ°æÓëFastTrack·þÎñÆ÷¡¢Î¢ÈíµÄÍø¼ÊÍøÂçÐÅÏ¢·þÎñÆ÷(IIS)Óë¸öÈËÍøÂç·þÎñÆ÷(PWS)¡¢Apache¡¢ÒÔ¼°ÆäËü·þÎñÆ÷µÄÍøÂç·þÎñÆ÷¸½¼ÓÉ豸¡£ÄãÒ²¿ÉÒÔʹÓÃApacheÍøÂç·þÎñÆ÷µÄJava°æ±¾£¬×îеÄJSWDKÀïÓÐÌṩ¡£
¡¡¡¡ÏÂÔØÓë°²×°ÄãÐèÒªµÄ×é¼þ
¡¡¡¡Ä¿Ç°·¢²¼µÄ1.2.2-001£¬JSDK¿ÉÏÂÔصİ汾ÊÇÒÔ¿É°²×°µÄѹËõÐÎʽ¡£ÏÂÔصÄÎļþ´óÔ¼ÊÇ 20MB£¬¿ÉÌṩÍêÕûµÄJava·¢Õ¹»·¾³£¬ÈÃÄãÄܽ¨Á¢ÀûÓñê×¼APIΪºËÐĵÄJava½â¾öÖ®µÀ¡£È»¶ø£¬ÄãµÄÍøÂç·þÎñÆ÷ÐèÒªÓ¦Óõ½JSPµÄΨһһ¼þÊÂÊÇ Ja


Ïà¹ØÎĵµ£º

windows2003ÏÂJSPµÄÊý¾Ý¿âÁ¬½Ó

ÎÒµÄjsp±à³Ì»·¾³Ò²ÊÇ×î½ü²Å´î½¨ÆðÀ´µÄ£¬ÓõÄÊÇwindows2003£«ecplise£«tomcat£«lomboz£«sql Server 2000£¬´î½¨µÄ¹ý³ÌÖгÔÁ˲»ÉٵĿàÍ·£¬ÔڴµÄ¹ý³ÌÖÐ×ܽáÁËһЩ¾­Ñ飬¶ÔÓÚjsp´î½¨ÔÚÍøÉÏÓв»ÉٵĽéÉÜ£¬´î½¨ÆðÀ´±È½ÏÈÝÒ×£¬ÏÂÃæÖ÷Òª½éÉÜÔÚjsp´î½¨ÆðÀ´ºóÁ¬½ÓÊý¾Ý¿âҪעÒâµÄµØ·½£º
£¨1£©Êý¾Ý¿âµÄ°æ±¾Ñ¡ÔñÒªÕýÈ·£¬Ñ¡ÔñµÄ°æ±¾ºÍ ......

´«ÖDz¥¿Í——JSP£¨Èý£©MVCÉè¼Æģʽ


Ò» MVCÉè¼ÆģʽµÄ¸ÅÄî
   MVC±¾À´ÊÇ´æÔÚÓÚDesktop³ÌÐòÖеģ¬MÊÇÖ¸Êý¾ÝÄ£ÐÍ£¬VÊÇÖ¸Óû§½çÃ棬CÔòÊÇ¿ØÖÆÆ÷¡£Ê¹ÓÃMVCµÄÄ¿µÄÊǽ«MºÍVµÄʵÏÖ´úÂë·ÖÀ룬´Ó¶øʹͬһ¸ö³ÌÐò¿ÉÒÔʹÓò»Í¬µÄ±íÏÖÐÎʽ¡£±ÈÈçÒ»Åúͳ¼ÆÊý¾ÝÄã¿ÉÒÔ·Ö±ðÓÃÖù״ͼ¡¢±ýͼÀ´±íʾ¡£C´æÔÚµÄÄ¿µÄÔòÊÇÈ·±£MºÍVµÄͬ²½£¬Ò»µ©M¸Ä±ä£¬VÓ¦¸Ãͬ²½¸üС£& ......

Myeclipseн¨jspÎļþʱĬÈÏ´úÂë

ÒýÓÃ×Ô: http://hi.baidu.com/tickwudi/blog/item/1c0ddb6dd4e821fc4316949b.html
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort ......

ÀûÓÃjspÉÏ´«excel

Ò»¡¢ÉÏ´«
ÒýÈë°ü£ºorg.apache.commons.fileupload.*
jsp´úÂ룺 DiskFileUpload fu = new DiskFileUpload();
      List list = fu.parseRequest(request);
      if(list != null){
       System.out.println(list.size());
  ......

Perl¡¢PHP¡¢ASP¡¢JSP¼¼Êõ±È½Ï

Perl¡¢PHP¡¢ASP¡¢JSP¼¼Êõ±È½Ï
±¾ÎĽ«¶ÔÄ¿Ç°×î³£ÓõÄËÄÖÖ¶¯Ì¬ÍøÒ³ÓïÑÔPerl£¨Practical Extraction and Report Language£©¡¢PHP£¨Hypertext Preprocessor£©¡¢ASP£¨Active Server Pages£©¡¢JSP£¨JavaServer Pages£©½øÐÐһЩ¼¼ÊõÐԵıȽϡ£
¡¡¡¡Perl
¡¡¡¡Perl£¨Practical Extraction and Report Language£©ÊÇÒ»ÖֺܹÅÀϵĽű ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ