java action ·¾¶ÎÊÌâ
StringBuilder path = new StringBuilder(request.getScheme());
path.append("://").append(request.getServerName());
path.append(":").append(request.getServerPort()).append(request.getContextPath());
System.out.println("***********path:" + path);
System.out.println(request.getRealPath("./"));
System.out.println(request.getContentType());
System.out.println("method:" + request.getMethod());
System.out.println("pathInfo:" + request.getPathInfo());
System.out.println("PathTranslated:" + request.getPathTranslated());
System.out.println("getProtocol:" + request.getProtocol());
System.out.println("getQueryString:" + request.getQueryString());
System.out.println("RequestURI:" + request.getRequestURI());
System.out.println("getServletPath:" + request.getServletPath());
½á¹û£º
***********path:http://localhost:8080/boe-portal
C:\Program Files\Tomcat 6.0\webapps\boe-portal\.
application/x-www-form-urlencoded
method:POST
pathInfo:null
PathTranslated:null
getProtocol:HTTP/1.1
getQueryString:null
RequestURI:/boe-portal/mydocument/sendMail.action
getServletPath:/mydocument/sendMail.action
Ïà¹ØÎĵµ£º
×î½ü¹«Ë¾Åöµ½ÐèÒªÓÃͼ±íµÄÐÎʽÏÔʾһЩÊý¾Ý£¬ÎҾͿªÊ¼µ½ÍøÉϲéѯ£¬²éµ½ÁËjfreechartºÍamcharts,ÕâÁ½ÕßÎÒ¶¼ÊµÏÖ¹ýÁË£¬jfreechart×îºóÉú³ÉͼƬ£¬µ«ÊÇͼƬЧ¹û²»ÊÇÎÒÏëÒªµÄ£¬È»ºóÓÖÑо¿amcharts ËüµÄЧ¹ûȷʵºÜºÃ£¬¶øÇÒ¹Ù·½ÍøÕ¾ÉÏ»¹ÓкÃЩÀý×ӿɹ©ÏÂÔØ£¬ÍøÖ·ÊÇ:www.amcharts.com
£¨ÏëÒªÍê³ÉÒ»¸öamchartsͼÐÎÐèÒªswfobjects. ......
Basic concepts in OOP
Encapsulation:Òþ²ØʵÏÖ¹ý³Ì£¬¶ÔÍâÌṩ¹«¿ªÒ»ÖµĽӿڡ¢Ê¹Èí¼þÒ×ÓÚ¸üÐÂÓëά»¤¡£
Polymorphism£ºÒ»¸öÊÂÎï×Ô¶¯»ñµÃÁíÒ»ÊÂÎïµÄ״̬ÐÐΪµÄ»úÖÆ¡£
Inheritance£ºÒ»¸öÀà×Ô¶¯»ñµÃÁíÒ»¸öÀàµÄÊôÐÔ»òÕß·½·¨µÄ¹ý³Ì¡£
1.ÀàµÄ½á¹¹
ˈ̞
&nb ......
µÚÒ»½×¶Î£ºJAVA»ù´¡ÔöÇ¿/Oracle+MySqlÊý¾Ý¿â+JDBC¿ª·¢¼¼Êõ+DAO·â×°
ºËÐļ¼Êõ¿Î³Ì
java»ù´¡¼ÓÇ¿£ºÔöÇ¿forÑ»·¡¢¿É±ä²ÎÊý¡¢Ã¶¾Ù¡¢·´Éä¡¢ÄÚÊ¡¡¢beanutils¹¤¾ß¡¢×¢½â¡¢·ºÐÍ¡¢Àà¼ÓÔØ¡¢´úÀí¡¢×°Ïä/²ðÏä¡¢¾²Ì¬ÒýÓõÈJavaм¼ÊõºÍ¸ß¼¶¼¼Êõ¡£
OracleºÍMySqlÊý¾Ý¿â£ºOracleºÍMySqlÊý¾Ý¿â»ù´¡¹ÜÀí¡¢SQL ÓïÑÔ¡¢PL/SQLÓïÑÔ¡¢Êý¾Ý¿âÉ ......
ΪÁË͵ÀÁ£¬×¨ÃÅÓÃÁËJAVA¸ß¾«¡£¹ûÈ»ºÜ¼òµ¥¡£µ«ÊÇÔÚʹÓÃÇ°Ò»¶¨Òª×¢ÒâÉóÌ⣬ÓÐʱºò¸ù±¾²»ÐèÒªÓø߾«¼ÆËã¡£Ò»¶¨ÒªÓп´ÇåÌõ¼þ¡£
BigInteger
&nb ......
public void sort(int[] array) {
for(int i=0; i<array.length; i++) {
boolean flag = true;
for(int j=0; j<array.length-i-1; j++) {
if(array[j]>array[j+1]) {
int tmp = ar ......