´«ÖDz¥¿Íjavaѧϰ ServletͨÐÅ
ÎÒ½ñÌìѧϰÁËServletÖ®¼äµÄͨÐÅjspµÄ»ù´¡ÖªÊ¶£»ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
Ò»¡¢ServletͨÐÅ£º
a) £¨²»Ó󬼶Á´½Ó£©´ÓÒ»¸öServletתµ½ÁíÒ»¸öServlet£º
i. ·½·¨Ò»£ºÖض¨Ïò£¬²»ÄÜ´«µÝÇëÇóµÄÊý¾Ý
1. resonpse.seneRedirect(“../come/welconeServler”);
ii. ·½·¨¶þ£º×ª·¢ ÄÜ´«µÝÇëÇóµÄÊý¾Ý
1. requestDispatcherµÄ×÷ÓÃʱ·â×°ServletµÄÉÏÏÂÎÄ×ÊÔ´
2.
3. ת·¢·â×°µÄ¶ÔÏó£º
4. rd.forword(request, response);
iii. ./µÄÓ÷¨
1. ./±íʾµ±Ç°Â·¾¶
2. ²»¼Ó./Ò²±íʾµ±Ç°Â·¾¶
iv. ../µÄÓ÷¨
1. ±íʾµ±Ç°Â·¾¶µÄÉÏÒ»¼¶Â·¾¶
b) ת·¢ºÍ´Ó¶¨ÏòµÄÇø±ð£º
i. &
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
ÀàµÄ³õʼ»¯ºÍ¶ÔÏó³õʼ»¯ÊÇ JVM ¹ÜÀíµÄÀàÐÍÉúÃüÖÜÆÚÖзdz£ÖØÒªµÄÁ½¸ö»·½Ú£¬Google ÁËÒ»±éÍøÂ磬ÓйØÀà×°ÔØ»úÖÆµÄÎÄÕµ¹ÊDz»ÉÙ£¬È»¶øÀà³õʼ»¯ºÍ¶ÔÏó³õʼ»¯µÄÎÄÕ²¢²»¶à£¬ÌرðÊÇ´Ó×Ö½ÚÂëºÍ JVM ²ã´ÎÀ´·ÖÎöµÄÎÄÕ¸üÊÇÏÊÓÐËù¼û¡£
±¾ÎÄÖ÷Òª¶ÔÀàºÍ¶ÔÏó³õʼ»¯È«¹ý³Ì½øÐзÖÎö£¬Í¨¹ýÒ»¸öʵ¼ÊÎÊÌâÒýÈ룬½«Ô´´úÂëת»»³É JVM ×Ö½ÚÂëºó£¬ ......
Flex Java Object¶ÔÓ¦¹ØÏµ
ĿǰLCDSÖ»ÄÜÓëJ2EEµÄ·þÎñ¶Ë½øÐÐͨÐÅ£¬ËùÒÔĿǰֻÊÇActionScript 3.0Êý¾ÝÀàÐͺÍJavaÊý¾ÝÀàÐ͵Äת»»¡£ActionScript 3.0ÓëJavaÊý¾ÝÀàÐÍת»»ÊDz»¶Ô³ÆµÄ¡£
ActionScript3.0ÏòJavaת»»Ê±Êý¾ÝÀàÐ͵ĶÔÓ¦¹ØÏµ
ActionScriptÊý¾ÝÀàÐÍ -------------------JavaÊý¾ÝÀàÐÍ
null -------------------null ......
ÎÒ½ñÌìÌýÁËÕÅТÏéÀÏʦ½²µÄservlet»ù´¡¿Î³Ì£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç
Servlet¼¼Êõ£º
l Servlet¼¼ÊõÊÇSun¹«Ë¾ÌṩµÄÒ»ÖÖʵÏÖ¶¯Ì¬ÍøÒ³µÄ½â¾ö·½°¸£¬ËüÊÇ»ùÓÚJava±à³ÌÓïÑÔµÄWEB·þÎñÆ÷¶Ë±à³Ì¼¼Êõ¡£
l Servlet¼¼ÊõÒ²ÊÇJSP¼¼Êõ£¨ÁíÍâÒ»ÖÖ¶¯Ì¬ÍøÒ³¿ª· ......
½ñÌìÎÒÌýÁË·ëÀÏʦ½²µÄsession¿Î³Ì£ºÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç
1. sessionÓÃÀ´´æÈ¡´óÁ¿µÄÊý¾Ý£»¿ÉÒÔ¿´×öÒ»¸öÈÝÆ÷£»
2. ÓÃsessionID£¨StringÀàÐ͵Ä,ΨһµÄ£¬±£´æÔÚ¿Í»§¶Ë£©À´±êʶsession£¬
3. &nb ......