JavaµÄÓ¦ÓÃÓëStrutsµÄ³õ²½Á˽â
Õⲿ·ÖµÄÖ÷ÒªÄÚÈÝ£º
µÚÒ»£¬Java WebÓ¦Óûù´¡¸´Ï°
µÚ¶þ£¬MVCµÄÉè¼Æģʽ
µÚÈý£¬StrutsµÄÉè¼Æģʽ
µÚÒ»²¿·Ö£ºJava WebµÄÓ¦Óûù´¡
Java WebµÄºËÐļ¼ÊõÊÇJSPºÍServlet¼¼Êõ¡£
ͼһ£¬Java WebµÄÓ¦ÓõĽṹͼ
1£¬ServletÓëJSP
Servlet×é¼þÊÇÒ»¸öÓëÐÒéÎ޹صĿçƽ̨µÄ·þÎñÆ÷×é¼þ¡£ServletµÄ×÷ÓÃÊǶÁÈ¡¿Í»§·¢Ë͵ÄÏÔʾΪÊý¾Ý¡¢¶ÁÈ¡ÓÉä¯ÀÀÆ÷·¢Ë͵ÄÒþ²ØʽÇëÇóÊý¾Ý¡¢Ïò¿Í»§·¢ËÍÏÔʾÊý¾Ý¼°·¢ËÍÒþ²ØʽHTTPÏìÓ¦Êý¾ÝµÈ¡£¶øJSPÔò¸ºÔðÏÔʾÊý¾Ý£¬Ò²¾ÍÊǸºÔðÒ³ÃæÏÔʾ¡£
2£¬JavaBeanÔÚJava Web×é¼þµÄÓ¦ÓÃ
JavaBean·â×°ÊôÐԺͷ½·¨£¬Ê¹Ö®¾ßÓжÀÁ¢µÄ¹¦ÄÜ¡¢¿ÉÖØÓõIJ¢ÇÒÓëÆäËû¿Ø¼þͨѶµÄÀà¡£
ÒÔÏÂÊÇjsp¶ÔJavaBeanµÄ¼¸µãÓ¦Óá£
1£©<jsp:userBean>
¶¨Î»²¢ÊµÀý»¯Ò»¸öJavaBean¡£
<jsp:JavaBean id="user_page" scope="page" class="com.UserInfoBean"/>
ÆäÖУ¬idÊÇÀàµÄÓ³ÉäÃû³Æ£¬scopeΪ»á»°µÄÓÐЧ·¶Î§£¬classΪÀÛµÄÓ³Éä·¾¶
2£©<jsp:setProperty>
ÉèÖÃÒ»¸öJavaBeanµÄÊôÐÔ¡£
<jsp:setProperty name="user_age" property="user" value="<%=user_page.getUser()+1%>"></jsp:setProperty>
ÆäÖУ¬nameÖ¸¶¨ÁËJavabeanµÄ¶ÔÏó£»propertyÊôÐÔ±íÃ÷ÐèÒªÉ趨ֵµÄJavabeanÊôÐÔµÄÃû³Æ£»valueÊôÐÔ±íÃ÷ÁËÐèÒªÉ趨¸øJavabeanµÄÊôÐԵġ¿Öµ¡£
3£©<jsp:getProperty>
¶ÁÈ¡JavaBeanµÄÊôÐÔÖµ¡£
<jsp:getProperty name="user_page" property="user"/>
4)<jsp:include>
°üº¬Ò»¸öÒ³Ãæ
<jsp:include page="index.jsp" flush="true">
ÔÚÕâÀïÓеĵط½Òª×¢ÒâµÄ£¬ÄǾÍÊÇ
£¼%@ include file=”relativeURI”%£¾ ÊÇÔÚ·Òë½×¶ÎÖ´ÐÐ
£¼jsp:include page=”relativeURI” flush=”true” /£¾ ÔÚÇëÇó´¦Àí½×¶ÎÖ´ÐÐ.
1£© Ö´ÐÐʱ¼äÉÏ:
<%@ include file=”relativeURI”%> ÊÇÔÚ·Òë½×¶ÎÖ´ÐÐ
<jsp:include page=”relativeURI” flush=”true” /> ÔÚÇëÇó´¦Àí½×¶ÎÖ´ÐС£
2£©ÒýÈëÄÚÈݵIJ»Í¬:
<%@ include file=”relativeURI”%> ÒýÈ뾲̬Îı¾(html,jsp),ÔÚJSPÒ³Ã汻ת»¯³Éservlet֮ǰºÍËüÈں͵½Ò»Æð¡£ËùÒÔҪעÒâÁ½¸öÒ³ÃæÔÚÒýÓñäÁ¿Éϲ»ÒªÖظ´
<jsp:include page=”relativeURI” flush=”true” /> ÒýÈëÖ´ÐÐÒ³Ãæ»òservletËùÉú³ÉµÄÓ¦´ðÎı¾£¬ËùÒÔҪעÒâµÄÊÇÔÚ±»°üº¬µÄÒ³ÃæÉϲ»ÄÜÒýÓõ½µÚÒ»¸ö°üº
Ïà¹ØÎĵµ£º
ÏÂÔØÁ´½Óhttp://ictclas.org/Down_OpenSrc.asp
¼òµ¥½éÉÜ£º
imdict-chinese-analyzerÊÇ imdictÖÇÄܴʵäµÄÖÇÄÜÖÐÎÄ·Ö´ÊÄ£¿é£¬×÷Õ߸ßСƽ£¬Ëã·¨»ùÓÚÒþÂí
¶û¿Æ·òÄ£ÐÍ(Hidden Markov Model, HMM)£¬ÊÇÖйú¿ÆѧԺ¼ÆËã¼¼ÊõÑо¿ËùµÄictclasÖÐÎķִʳÌÐò
µÄÖØÐÂʵÏÖ£¨»ùÓÚJava£©£¬¿ÉÒÔÖ±½ÓΪluceneËÑË÷ÒýÇæÌṩÖÐÎÄ·Ö´ÊÖ§³Ö ......
JAVA»á²úÉúÄÚ´æй¶Âð£¿Ê×ÏÈ£¬´ð°¸Êǿ϶¨µÄ¡£JavaËäÈ»ÓÐÀ¬»ø»ØÊÕÆ÷£¬µ«ÒÀÈ»´æÔÚй©¡£
JavaÄÚ´æй©¸úC/C++ÄÚ´æй©µÄ¸ÅÄî²»Ò»Ñù£ºC/C++µÄÄÚ´æй©ÊÇÖ¸MallocÁËһЩ×ÊÔ´£¬×îºóûÓÐfreeµô£¬ÄÚ´æûÓлØÊÕ£¬Õâ¸öÊÇÕæÕýÒâÒåÉϵÄÄÚ´æºÚ¶´£»¶øJavaµÄй©Ôò ......
Õýʽ¿ªÊ¼JavaÁË.
ÏÈÊÇÅäÖÃJava
java_home path classpath(1.5ÒÔÉÏ°æ±¾¿ÉÒÔ²»ÓÃÅäÖÃclasspathÁË)
²»¹ý±¾ßµÄÊÇ.Ò»¿ªÊ¼Àí½â´íÁË.ÒÔΪclasspathµÄ".;"--µ±Ç°Ä¿Â¼ÊÇÖ¸javac X:\aa.javaµÄÄĸöX:Ŀ¼..È»ºójava aa¾Í²»ÓÃÖ¸¶¨ÁË..
ŪÁ˺þö¼²»ÊÇÕâÑùµÄ..»¹ÒÔΪÊÇwin 7µÄÔÒò..Orz
JavaÅäÖúÃÁË.¸ÃÑ¡Îı¾±à¼Æ÷ÁË..
ͬѧ½Ð ......
ÖÚËùÖÜÖª£¬JavaÓïÑÔÊÇÒ»Ãŷdz£ÊʺÏÍøÂ翪·¢µÄÓïÑÔ£¬Óà JavaÓïÑÔ½øÐÐÐÔÄܲâÊԽű¾¿ª·¢½«»á´ó´óÌá¸ß²âÊÔ¿ª·¢Ð§ÂÊ¡£LoadRunnerÖÐÌṩÁ˶ÔJavaÐéÄâÓû§µÄÖ§³Ö¡£JavaÐéÄâÓû§ÒÀÍÐÓÚJDK£¬Õâ´ó´óÀ©³äÁËLoadRunnerµÄ½Å±¾¿ª·¢¹¦ÄÜ¡£²âÊÔÈËÔ±¼È¿ÉÒÔÓÃJavaÐéÄâÓû§À´²âÊÔ»ùÓÚJavaµÄÓ¦ÓÃϵͳµÄÐÔÄÜ£¬ÓÖ¿ÉÒÔʹÓÃJavaÓïÑÔµÄÇ¿´ó¿ª·¢½Å±¾ ......