java exception ½â¾ö·½°¸ - ÎÒµÄÒì³£Íø|Òì³£|exception 770 - java.net.unknownhostException 771 - com.ibatis.struts.BeanActionException 772 - javax.servlet.jsp.JspException:Cannot find bean under name org.apache.struts.taglib.html.BEAN 773 - java.lang.NoClassDefFoundError:org apache commons lang UnhandledException 774 - org.hibernate.type.SerializationException:could not deserialize 775 - java.lang.IndexOutOfBoundsException 776 - java.lang.OutOfMemoryError:Java heap space 777 - org.hibernate.exception.JDBCConnectionException:Cannot open connection 778 - html:errors 779 - org.hibernate.TransactionException:Transaction not successfully started 780 - java.io.UTFDataFormatException: Invalid UTF8 encode 781 - Servlet action is not available 782 - java.lang.ClassCastException:java.lang.String 783 - jasperreportÖÐÎÄÂÒÂë 784 - html:error 785 - java.lang.NullPointerException 786 - java.lang.ClassCastException 787 - JasperException 788 - Ò쳣д·¨ 789 - HibernateÒì³£´¦Àí»úÖÆ ......
java exception ½â¾ö·½°¸ - ÎÒµÄÒì³£Íø|Òì³£|exception 770 - java.net.unknownhostException 771 - com.ibatis.struts.BeanActionException 772 - javax.servlet.jsp.JspException:Cannot find bean under name org.apache.struts.taglib.html.BEAN 773 - java.lang.NoClassDefFoundError:org apache commons lang UnhandledException 774 - org.hibernate.type.SerializationException:could not deserialize 775 - java.lang.IndexOutOfBoundsException 776 - java.lang.OutOfMemoryError:Java heap space 777 - org.hibernate.exception.JDBCConnectionException:Cannot open connection 778 - html:errors 779 - org.hibernate.TransactionException:Transaction not successfully started 780 - java.io.UTFDataFormatException: Invalid UTF8 encode 781 - Servlet action is not available 782 - java.lang.ClassCastException:java.lang.String 783 - jasperreportÖÐÎÄÂÒÂë 784 - html:error 785 - java.lang.NullPointerException 786 - java.lang.ClassCastException 787 - JasperException 788 - Ò쳣д·¨ 789 - HibernateÒì³£´¦Àí»úÖÆ ......
½Ì³Ì5 ËãÊýÔËËãѧϰ³ÌÐò ѧϰĿ±ê 5.1¼òµ¥¼Ó·¨Ñ§Ï°³ÌÐò СѧÉúÔÚ¸Õ¸Õ¿ªÊ¼Ñ§Ï°ÊýѧÔËËãµÄʱºò£¬ÐèÒª²»¶ÏµØ½øÐз´¸´´óÁ¿µÄÁ·Ï°£¬²ÅÄܹ»Ñ¸ËÙÕÆÎÕÕⲿ·ÖÄÚÈÝ¡£ÏÂÃæ¿ª·¢Ò»¸ö¼òµ¥µÄ¼Ó·¨Ñ§Ï°³ÌÐò£¬Äܹ»²úÉú¼Ó·¨ÔËËãÈÃѧÉúÀ´Ñ§Ï°Ìá¸ß¡£ ±àд³ÌÐòÈçÏ£º 1 package lesson5; 2 3 public class Operation1 { 4 int number1; 5 int number2; 6 void operate(int number1,int number2) 7 { 8 this.number1=number1; 9 this.number2=number2; 10 System.out.println(number1+"+"+number2+"="); 11 } 12 void showTitle() 13 { 14 System.out.println("Çë¼ÆËãÈçÏÂÔËËã½á¹û£º"); 15 } 16 public static void main(String args[]) 17 { 18 Operation1 o1=new Operation1(); 19 o1.showTitle(); 20 o1.operate(1,2); 21 } 22 } ±¾³ÌÐòÖУ¬¶¨ÒåÁËÒ»¸öOperation1Àà¡£ÀàÖж¨ÒåÁËÁ½¸öintÀàÐ͵ıäÁ¿number1ºÍnumber2£¬·Ö±ðÓÃÀ´´æ´¢²ÎÓëÔËËãµÄÁ½¸öÊý×Ö¡£µÚ6¡«11Ðж¨ÒåÁËÒ»¸öoperateº¯ÊýÓÃÀ´²úÉúÒ»¸ö¼Ó·¨ÔËËã¡£·½·¨ÌåÄÚ£¬µÚ8¡¢9ÐÐÊ×ÏÈÓ¦Ó÷½·¨µÄ²ÎÊý¶Ôµ±Ç°¶ÔÏóµÄnumber1ºÍnumber2½øÐи³Öµ£¬µÚ11ÐÐÍê³ÉÁËÔËËãʽµÄÊä³ö¡£µÚ12¡«15Ðж¨ÒåÁË·½·¨showTitle£¬·½·¨ÌåÄÚµÄ14ÐдòÓ¡Á˼ ......
C++ÓëJava»ù±¾Êý¾ÝÀàÐͼ°ËùÕ¼ÓÃÄÚ´æ¿Õ¼ä±È½Ï
----------------C++
----------- ------------Java
----------
(01)bool------------------1 byte 01)boolean--1 byte
(02)char------------------1 byte
02)char------2 bytes
(03)signed char---------1 byte 03)byte------1 byte
(04)unsigned char------1 byte
(05)wchar_t--------------2 bytes
(06)short-----------------2 bytes ......
C++ÓëJava»ù±¾Êý¾ÝÀàÐͼ°ËùÕ¼ÓÃÄÚ´æ¿Õ¼ä±È½Ï
----------------C++
----------- ------------Java
----------
(01)bool------------------1 byte 01)boolean--1 byte
(02)char------------------1 byte
02)char------2 bytes
(03)signed char---------1 byte 03)byte------1 byte
(04)unsigned char------1 byte
(05)wchar_t--------------2 bytes
(06)short-----------------2 bytes ......
½üÀ´Ñ§JSP+SSH£¬ÏÂÔØÁËMyEclipse 8.0 M1£¬ÍøÉÏÕÒµ½µÄ×¢²áÂëʵÔÚ²»¶à£¬ÕæµÄ²»¶à£¬¾ÍÄÇôһ¸ö£¬±¾ß°¡£¬Òª²»¾ÍÊÇ×¢²á»ú£¬ÎÞÒâÖп´µ½Ò»¸öºÃ¶«Î÷£¬ÓÃJavaÉú³É×¢²áÂ룬Ô×÷¶¼ÊÇËÎÒ²»ÖªµÀ£¬Èç¹û×÷ÕßÈÏΪÎÒ²»¸Ã°ÑÕâЩ´úÂëÌûÔÚÕâÀÇë¸æÖª£¬ÎÒÂíÉÏɾ³ý¡£²»¶à˵£¬ÉÏ´úÂ룺
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class MyEclipseGen {
private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf). Under section 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years imprisonment for a first offense. Think about it; pay for a license, avoid prosecution, and feel better about yourself.";
public String getSerial(String userId, String licenseNum) {
java.util.Calendar cal = java.util.Calendar.getInstance();
cal.add(1, 3);
cal.add(6, -1);
java.text.N ......
ѧϰjavaµÄ30¸öÄ¿±ê----Èç¹ûÕâ30ÌõÄã×öµÄ²î²»¶àÁË£¬jAVAˮƽ¾Íµ±È»²»ÓÃ˵ÁË£¬ºÃºÃŬÁ¦°É
1.ÄãÐèÒª¾«Í¨ÃæÏò¶ÔÏó·ÖÎöÓëÉè¼Æ(OOA/OOD)¡¢É漰ģʽ(GOF£¬J2EEDP)ÒÔ¼°×ÛºÏģʽ¡£ÄãÓ¦¸ÃÊ®·ÖÁ˽âUML£¬ÓÈÆäÊÇclass£¬object£¬interactionÒÔ¼°statediagrams¡£
¡¡¡¡2.ÄãÐèҪѧϰJAVAÓïÑԵĻù´¡ÖªÊ¶ÒÔ¼°ËüµÄºËÐÄÀà¿â(collections£¬serialization£¬streams£¬networking£¬ multithreading£¬reflection£¬event£¬handling£¬NIO£¬localization£¬ÒÔ¼°ÆäËû)¡£
¡¡¡¡3.ÄãÓ¦¸ÃÁ˽âJVM£¬classloaders£¬classreflect£¬ÒÔ¼°À¬»ø»ØÊյĻù±¾¹¤×÷»úÖÆµÈ¡£ÄãÓ¦¸ÃÓÐÄÜÁ¦·´±àÒëÒ»¸öÀàÎļþ²¢ÇÒÃ÷°×һЩ»ù±¾µÄ»ã±àÖ¸Áî¡£
¡¡¡¡4.Èç¹ûÄ㽫Ҫд¿Í»§¶Ë³ÌÐò£¬ÄãÐèҪѧϰWEBµÄСӦÓóÌÐò(applet)£¬±ØÐèÕÆÎÕGUIÉè¼ÆµÄ˼ÏëºÍ·½·¨£¬ÒÔ¼°×ÀÃæ³ÌÐòµÄSWING£¬AWT£¬ SWT¡£Ä㻹Ӧ¸Ã¶ÔUI²¿¼þµÄJAVABEAN×é¼þģʽÓÐËùÁ˽⡣JAVABEANSÒ²±»Ó¦ÓÃÔÚJSPÖÐÒÔ°ÑÒµÎñÂß¼´Ó±íÏÖ²ãÖзÖÀë³öÀ´¡£
¡¡¡¡5.ÄãÐèҪѧϰjavaÊý¾Ý¿â¼¼Êõ£¬ÈçJDBCAPI²¢ÇÒ»áʹÓÃÖÁÉÙÒ»ÖÖpersistence/ORM¹¹¼Ü£¬ÀýÈçHibernate£¬JDO£¬ CocoBase£¬TopLink£¬InsideLiberator(¹ú²úJDOºì¹¤³§Èí¼þ)»òÕßiBatis¡ ......