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

javaÖÐÈçºÎʹÓÃamcharts


×î½ü¹«Ë¾Åöµ½ÐèÒªÓÃͼ±íµÄÐÎʽÏÔʾһЩÊý¾Ý£¬ÎҾͿªÊ¼µ½ÍøÉϲéѯ£¬²éµ½ÁËjfreechartºÍamcharts,ÕâÁ½ÕßÎÒ¶¼ÊµÏÖ¹ýÁË£¬jfreechart×îºóÉú³ÉͼƬ£¬µ«ÊÇͼƬЧ¹û²»ÊÇÎÒÏëÒªµÄ£¬È»ºóÓÖÑо¿amcharts ËüµÄЧ¹ûȷʵºÜºÃ£¬¶øÇÒ¹Ù·½ÍøÕ¾ÉÏ»¹ÓкÃЩÀý×ӿɹ©ÏÂÔØ£¬ÍøÖ·ÊÇ:www.amcharts.com
£¨ÏëÒªÍê³ÉÒ»¸öamchartsͼÐÎÐèÒªswfobjects.js£¬»¹ÓÐÅäÖÃÎļþ£¬Ò»¸öÊÇÅäÖýçÃæͼÐÎÈçºÎÏÔʾµÄÎļþ,Ò»¸öÊÇÅäÖÃÊý¾ÝµÄÎļþ¡£»¹ÓÐÒ»¸öÐèÒªÉú³ÉµÄ.swf,×îºóÔÚhtmlÀïÏÔʾͼÐΡ££©ÕâЩ¶¼¿ÉÒÔµ½¹Ù·½ÍøÕ¾ÉÏÕÒµ½£¬¶øÇÒÓɾßÌåµÄ˵Ã÷¡£¹Ø¼üÊÇËûµÄÊý¾ÝÅäÖÃÊÇÒªxml ºÍcsv¸ñʽµÄ£¬ÎÒÔõÑù²ÅÄÜ°ÑÈ¡µÃµÄÊý¾Ý·Åµ½ÕâÑùµÄ¸ñʽÀÎÒÊÔ¹ýÈ¡³öÀ´Êý¾Ý°ÑËüת»»³Éxml¸ñʽ£¬µ«ÊÇÓÃJavaÓïÑÔת»»Ì«Âé·³¶øÇÒÎÒת»»Á˺þö¼Ã»Óгɹ¦£¬Å¼¶û¿´µ½ÁËÒ»¸öÍøÒ³ÊÇjspת»»³Éxml¡£ÕâÒ»ÏÂ×ÓÌáÐÑÁËÎÒ£¬ºÎ±ØÈç´Ë·Ñ¾¢ÄØ£¬ÎÒͨ¹ýssh ¼Ü¹¹µÃµ½ÁËÐèÒªµÄÊý¾Ý£¬ÒÔÏÂÊÇÎÒת»»³ÉxmlµÄjspÒ³Ã棺
<%@ page language="java" import="java.util.*"%>
<%@ page contentType="text/xml; charset=utf-8"%>
<jsp:directive.page import="org.web.entity.Stack"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<?xml version="1.0" encoding="UTF-8"?>
<chart>
<axes>
<%
    List<Stack> list=(List<Stack>)request.getSession().getAttribute("list");
     for(int i=0;i<list.size();i++)
     {
        Stack s=list.get(i);
   %>
   <axis xid="<%=i%>"><%=s.getAxis()%></axis>
   <%
    }
   %>
</axes>
<graphs>
     <graph gid="1">
    <%
     for(int n=0;n<list.size();n++)
     {
        Stack ss=list.get(n);
      %>
 
  <value xid="<%=n%>"><%=ss.getShuju()%></value>
  


Ïà¹ØÎĵµ£º

´«ÖDz¥¿ÍjavaÅàѵ java»ù´¡Ö®JSPÒì³£´¦Àí

Ñ×ÈȵÄÌìÆøÒÀ¾É³ÖÐø£¬ÆþÖ¸ËãÀ´£¬µ½±±¾©¸ÕºÃÁ½ÔÂÁË£¬Ã¿Ì춼ͶÈëµ½³äʵµÄѧϰÖУ¬
¸Ð¾õÁ¼ºÃ£¬²»¹ý×òÌìÉϿξ¹È»Ë¯¾õ£¬¶øÇÒÍíÉÏ»¹¿´Á˵çÓ°¡£¡£¡£¡£¡£Òª±£³Ö¾¯Ì裬·ÅËÉ
µ«ÊDz»ÄÜÌ«·ÅËÉ£¡£¡£¡£¡
ÅàѵµÄʱ¼ä±Ï¾¹ºÜ¶Ì£¬´í¹ýÁËÕ⼸¸öÔ£¬ÒÔºó¹À¼Æ¾ÍºÜÉÙÄܾ²ÏÂÐÄÀ´Ñ§Ï°ÁË£¬ÒªÕäϧ£¬
ҪŬÁ¦£¬GOGO!!
JSPÒì³£´¦Àí·½Ê½£º
  µÚ ......

Ò»¸öJava³ÌÐòÔ±Ó¦¸ÃÕÆÎÕµÄ10Ïî¼¼ÄÜ


1¡¢Óï·¨£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼­Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
2¡¢ÃüÁ±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡¢ HtmlConverter¡¢jar¡¢ java¡¢javac¡¢javadoc¡¢javap¡¢javaw¡¢native2ascii¡¢serialver£¬Èç¹ûÕâЩÃüÁ ......

java¼ÆËã³ÌÐòÓÃʱ


Java´úÂë
long startTime=System.currentTimeMillis();   //»ñÈ¡¿ªÊ¼Ê±¼ä  
doSomeThing(); //²âÊԵĴúÂë¶Î  
long endTime=System.currentTimeMillis(); //»ñÈ¡½áÊøʱ¼ä  
System.out.println("³ÌÐòÔËÐÐʱ¼ä£º "+(endTime-startTime)+"ms");  
µÚ¶þÖÖÊÇÒÔÄÉÃëΪ ......

ת£¡Java webservice

Ò»¡¢Ç°ÑÔ

   
±¾Îļٶ¨ÄãÓÐÒ»¶¨µÄJ2EE¿ª·¢¾­Ñ飬Õâ¸ö½Ì³ÌûÓйý¶àµÄÉæ¼°»ù´¡ÖªÊ¶ºÍ¿ª·¢Ï¸½Ú¡£Èç¹ûÔÚÔĶÁ¹ý³Ì³öÓÐʲôÎÊÌ⣬»¹ÇëÓëÎÒÁªÏµ½»Á÷¡£
     
Èç¹ûʹÓÃGOOGLE¡¢BAIDUµÈËÑË÷¹¤¾ß£¬ËÑË÷WebServiceµÄÏà¹Ø֪ʶ£¬¿ÉÒԲ鵽N¶àµÄÍøÒ³£¬ÎÒ¾ÍÊÇͨ¹ýÕâЩÍøÒ³µÄѧϰ£¬Öð½¥ÕÆÎ ......

Java½â»ó3 29Ñ­»·ÕßµÄÐÂÄï

ÇëÌṩһ¸ö¶ÔiµÄÉùÃ÷£¬½«ÏÂÃæµÄÑ­»·×ª±äΪһ¸öÎÞÏÞÑ­»·£º
while (i != i) {
}
Õâ¸öÑ­»·¿ÉÄܱÈÇ°Ò»¸ö»¹ÒªÊ¹È˸е½À§»ó¡£²»¹ÜÔÚËüÇ°Ãæ×÷ºÎÖÖÉùÃ÷£¬Ëü¿´ÆðÀ´È·ÊµÓ¦¸ÃÁ¢¼´ÖÕÖ¹¡£Ò»¸öÊý×Ö×ÜÊǵÈÓÚËü×Ô¼º£¬¶ÔÂð£¿
¶Ô£¬µ«ÊÇIEEE 754¸¡µãËãÊõ±£ÁôÁËÒ»¸öÌØÊâµÄÖµÓÃÀ´±íʾһ¸ö²»ÊÇÊý×ÖµÄÊýÁ¿[IEEE 754]¡£Õâ¸öÖµ¾ÍÊÇNaN£¨“ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ