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

¹ØÓÚjava+flexÏîÄ¿»¶Ó­Ò³µÄÎÊÌâ

¿ª·¢Á˸öflexºÍjavaµÄ²âÊÔÏîÄ¿£¬ÒòΪflexÎļþ±È½Ï¶à£¬ËùÒÔ´´½¨flexʱºò£¬
ÔÚWebRootϽ¨Á¢ÁËÎļþ¼Ðbin£¬ÓÃÀ´´æ´¢htmlºÍswfÎļþ
ÏëÔÚä¯ÀÀÆ÷ÊäÈëhttp://localhost:8080/projectÖ±½Ó¿ÉÒÔ·ÃÎÊÎļþ¼ÐϵÄhtml
µÚÒ»£¬ÔÚWebRootϽ¨Á¢index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
  </head>
  <body>
   <%
    response.sendRedirect("bin/Myweather.html");//ÓÃÖض¨Ïò£¬×ª·¢²»¿ÉÒÔ
    %>
  </body>
</html>
µÚ¶þ£¬web.xmlÅäÖÃ
<welcome-file-list>
 <welcome-file>index.jsp</welcome-file>
</welcome-file-list>


Ïà¹ØÎĵµ£º

flexʱÐòͼʾÀý

<?xml version="1.0" encoding="utf-8"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>

import mx.collections.ArrayCollection;
......

java final ¹Ø¼ü×Ö ºÍ static Ó÷¨

ת×Ô
http://www.blogjava.net/hongzionline/archive/2007/09/19/146392.html
final ¹Ø¼ü×Ö ºÍ static Ó÷¨
Ò»¡¢final
¸ù¾Ý³ÌÐòÉÏÏÂÎÄ»·¾³£¬Java¹Ø¼ü×ÖfinalÓГÕâÊÇÎÞ·¨¸Ä±äµÄ”»òÕß“ÖÕ̬µÄ”º¬Ò壬Ëü¿ÉÒÔÐÞÊηdzéÏóÀà¡¢·Ç³éÏóÀà³ÉÔ±·½·¨ºÍ±äÁ¿¡£Äã¿ÉÄܳöÓÚÁ½ÖÖÀí½â¶øÐèÒª×èÖ¹¸Ä±ä£ºÉè¼Æ»òЧÂÊ¡ ......

JAVA¶ÔÏóµÄ´æ´¢Î»Öá¾À´×Ô»¥ÁªÍø¡¿

Java³ÌÐò¿ª·¢ÈËÔ±ÐèÒªÁ˽â¸÷¸ö´æ´¢ÇøÓòµÄÌصãÒÔ¼°¶ÔÐÔÄܵÄÓ°Ï졣ȻºóÔÙ¸ù¾ÝÐèÒªÀ´µ÷ÕûÓ¦ÓóÌÐòµÄÇøÓò·ÖÅä¡£×ܵÄÀ´Ëµ£¬ÔÚ²Ù×÷ϵͳÖÐÓÐÎå¸öµØ·½¿ÉÒÔÓÃÀ´±£´æÓ¦ÓóÌÐòÔËÐÐÖеÄÊý¾Ý¡£ÕâÀàÇøÓòµÄÌصãÒÔ¼°¶ÔÐÔÄܵÄÓ°Ïì·ÖÎöÈçÏ¡£
      ´æ´¢ÇøÓòÒ»£º¼Ä´æÆ÷
ËäȻͬÔÚÄÚ´æÖУ¬µ«ÊDz»Í¬µÄÇøÓòÓÉÓÚÓÃ;²»Í ......

JAVA¿ª·¢Õß×ȥµÄ20¸öÓ¢ÎÄÍøÕ¾


1.[http://www.javaalmanac.com] – Java¿ª·¢ÕßÄê¼øÒ»ÊéµÄÔÚÏß°æ±¾. ÒªÏë¿ìËٲ鵽ijÖÖJava¼¼ÇɵÄÓ÷¨¼°Ê¾Àý´úÂë, ÕâÊÇÒ»¸ö²»´íµÄÈ¥´¦.
2.[http://www.onjava.com] – O’ReillyµÄJavaÍøÕ¾. ÿÖܶ¼ÓÐÐÂÎÄÕÂ.
3.[http://java.sun.com] – ¹Ù·½µÄJava¿ª·¢ÕßÍøÕ¾ – ÿÖܶ¼ÓÐÐÂÎÄÕ·¢±í.
4.[http ......

JavaÖмÆʱÆ÷µÄʹÓÃ

import java.util.Timer;
import java.util.TimerTask;
public class TimerExample
{
    /**
     * JavaÖмÆʱÆ÷µÄʹÓÃ
     * Time: 21:19 2010-1-5
     */
    Timer localTimer;
    public Ti ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ