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

ÓÃJFreeChartÔöÇ¿JSP±¨±íµÄÓû§ÌåÑé

  
   
      JFreeChartÊÇÒ»×鹦ÄÜÇ¿´ó¡¢Áé»îÒ×ÓõÄJava»æͼAPI£¬Ê¹ÓÃËü¿ÉÒÔÉú³É¶àÖÖͨÓÃÐԵı¨±í£¬°üÀ¨Öù״ͼ¡¢±ýͼ¡¢ÇúÏßͼ¡¢¸ÊÌØͼµÈ¡£ËüÄܹ»ÓÃÔÚSwingºÍWebµÈÖÐÖÆ×÷×Ô¶¨ÒåµÄͼ±í»ò±¨±í£¬²¢Çҵõ½¹ã·ºµÄÓ¦Óᣱ¾ÎĽ«Í¨¹ýÒýÁì¶ÁÕßѧϰÔÚJFreeChartÖбýͼ¡¢Öù״ͼºÍÇúÏßͼµÄ½ø½×Ó¦Óã¬À´´ïµ½ÊìÁ·Ê¹ÓÃJFreeChartµÄÄ¿µÄ¡£
Ò»£®             ÏÂÔØÓë»·¾³ÅäÖÃ
1. ÏÂÔØJFreeChart
JFreeChartÊÇ¿ª·ÅÔ´´úÂëµÄÃâ·ÑÈí¼þ£¬µ«ÊÇËüµÄÖ§³ÖÎĵµÐèÒª¸¶·Ñ²ÅÄܵõ½¡£ÆäÏÂÔصØַΪ£ºhttp://sourceforge.net/project/showfiles.php?group_id=15494£¬µ±Ç°×îа汾Ϊ1.0.6¡£±ÊÕßÏÂÔصÄÊÇ1.0.6×îа档
˵Ã÷£º1£©sourceĿ¼£ºÎªjfreechartµÄÔ´ÂëĿ¼£»
        2£©libĿ¼£ºÎª°üĿ¼£¬ÎÒÃÇÐèÒª¹Ø×¢µÄ°üΪjfreechart-1.0.6.jar¡¢gnujaxp.jarºÍjcommon-1.0.10.jarÕâÈý¸ö°ü£»
        3£©¸ùĿ¼ÏµÄjfreechart-1.0.6-demo.jarÊÇÀý×Ó³ÌÐò£¬´ó¼ÒË«»÷ºó¿É¿´µ½ÆäÖÐÓкܶàÀý×ÓµÄÔËÐнá¹û¡£
2. »·¾³ÅäÖÃ
       ±ÊÕߵĿª·¢»·¾³ÈçÏ£º
       JDK£º1.5
MyEclipse£º5.1.1 GA
Tomcat£º5.5.28
ΪÁ˺óÐøµÄ“ÓÃJFreeChart´´½¨»ùÓÚWebµÄͼ±í”µÄÒ»¸öÀý×ÓµÄչʾ£¬ÎÒÃÇÔÚMyEclipseÖд´½¨Ò»¸öÃûΪjfreechartµÄWeb¹¤³Ì¡£½«ÏÂÔصÄJFreeChart1.0.6ÏÂlibĿ¼ÏµÄjar°ü¿½±´µ½WebRoot/WEB-INF/libĿ¼Ï¡£ÁíÍ⻹ÐèÒªÔÚweb.xmlÎļþÖÐÔö¼ÓÈçÏÂÅäÖÃ:
<servlet>
          <servlet-name>DisplayChart</servlet-name>
          <servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class>
</servlet>
<servlet-mapping>
          <servlet-name>DisplayChart</servlet-name>
          <url-pattern>/DisplayChart</url-pattern>
</servlet-mapping>
 
¶þ£®      


Ïà¹ØÎĵµ£º

jspÖаüº¬.html Ò³Ã棬³öÏÖÂÒÂë

JSPÊÇÈÝÒ׳öÏÖÂÒÂëÎÊÌ⣬²»¹ýÄãֻҪעÒâÒÔϼ¸µã¾ÍÒ»¶¨Äܸ㶨 ¿É²Î¿¼http://www.historycreator.com/bbs/2009-10/19/033181872.html
1¡¢±£Ö¤ÄãµÄÎı¾±àÂëÓëÄãËùÆÚÍûµÄ±àÂëÏà·û£¨ÓÃд×Ö°å´ò¿ªÄãµÄÒ³ÃæÈ»ºóÎļþÁí´æΪ£¬ÔÚ±àÂëλÖÃÑ¡ÔñÄãÆÚÍûµÄÎı¾±àÂ룬GB2312¶ÔÓ¦ANSI£¬UTF8µ±È»¶ÔÓÚUTF8ÁË£©
2¡¢±£Ö¤´úÂëÀïÃæµÄÉùÃ÷±àÂëÓëÄ ......

ÓйØJSP/ServletµÄÖض¨Ïò¼¼Êõ

 
ÓйØJSP/ServletµÄÖض¨Ïò¼¼Êõ×ÛÊöÈçÏÂ
1.RequestDispatcher.forward()
    ÊÇÔÚ·þÎñÆ÷¶ËÆð×÷ÓÃ,µ±Ê¹ÓÃforward()ʱ,Servlet engine´«µÝHTTPÇëÇó´Óµ±Ç°µÄServlet or JSPµ½ÁíÍâÒ»¸öServlet,JSP »òÆÕͨHTMLÎļþ,Ò²¼´ÄãµÄformÌá½»ÖÁa.jsp,ÔÚa.jspÓõ½ÁËforward()Öض¨ÏòÖÁb.jsp,´ËʱformÌá½»µÄËùÓÐÐÅÏ¢ ......

Servlet/JSPѧϰ±Ê¼Ç(4) ServletÈëÃÅ

½éÉÜÍ깤¾ßºÍ»ù±¾¸ÅÄÏÖÔÚÖÕÓÚ¿ªÊ¼½éÉÜServletµÄ±àд·½·¨ÁË¡£ÎªÁ˱ãÓÚÀí½â£¬ÎÒÃǽ«²ÉÓÃeclipse+Lomboz×÷Ϊ¿ª·¢»·¾³£¬Ò»ÇеIJÙ×÷¶¼¿ÉÒÔÔÚeclipseÖÐÍê³É¡£Èç¹ûÄ㻹ûÓа²×°ºÃLomboz£¬Çë²Î¿¼Ç°¼¸ÆªÎÄÕÂÅäÖúû·¾³¡£
tomcatºÍeclipseµÄ°²×°
»ù´¡ÖªÊ¶
Lomboz½éÉÜ+°²×°·½·¨
ÎÒÃǽ«½¨Á¢Ò»¸öÃûΪ com.idv2.learnjsp µÄ°ü£¬Ó ......

FCKeditor2.6 for JSP ÅäÖ÷½·¨

1¡¢Ê×Ïȵǽwww.fckeditor.net/downloadÏÂÔØFCKeditorµÄ×îа汾£¬ÐèÒªÏÂÔØ2¸öѹËõ°ü£¬Ò»¸öÊÇ»ù±¾Ó¦Óã¬ÁíÒ»¸öÊÇÔÚΪÔÚjspÏÂËù×¼±¸µÄÅäÖá£
      FCKeditor 2.6 ÏÂÔصØÖ·£ºsourceforge.net/project/downloading.php
      FCKeditor.Java ÏÂÔصØÖ·£ºsourceforge.net/ ......

¹ØÓÚWEB¿ª·¢ jspµÄ°²È«ÐÔ

     ËäÈ»×öÁË´ó°ëÄêµÄweb¿ª·¢ÁË£¬µ«Ò»Ö±¸¡ÓÚ±íÃ棬¶«Î÷»á×ö£¬µ«ºÜ¶àÔ­Àí²»Í¨£¬ÒªÏë³ÉΪ¼¼ÊõÅ£È˹â»á×öÊÇÔ¶Ô¶²»Ðеģ¬ÒòΪ¼´Ê¹»á×öµ«²»»á½²ÇÒ²»ÄܾÙÒ»·´Èý£¬°¥£¬Ïëµ±Äê¸ßÖÐÊýѧ֮ËùÒÔÕâôºÃ¾ÍÊÇÒòΪ¸ßÖÐÊýѧԭÀíÎÒ¶¼Ò»Çå¶þ³þ£¬¾ÙÒ»·´Èý£¬ÐËÊÖÄíÀ´£¬·´¶øµ½ÁËÏÖÔÚÓе㼱¹¦½üÀû£¬¼±ÓÚÇó³É£¬ÎÒÕâ²»Êǵ¹ÍËÁË ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ