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. ......
×ܵĸñʽÊÇ£º
%[argument_index$][flags][width][.precision]conversion
ÀýÈ磺
%2$-5.2s
//2$£ºÈ¡µÚ¶þ¸ö²ÎÊý
//-: Ö¸¶¨Îª×ó¶ÔÆ룬ĬÈÏÓÒ¶ÔÆë
//5£º×î´óÊä³ö¿í¶ÈΪ20,²»¹»»á²¹¿Õ¸ñ£¬Êµ¼ÊÈô³¬¹ýÔòÈ«²¿Êä³ö
//.2£ºÔڴ˱íʾÊä³ö²ÎÊý2µÄ×î´ó×Ö·ûÊýÁ¿£¬Èç¹ûÊǸ¡µãÊý×Ö£¬Ôò±íʾСÊý²¿·ÖÏÔʾµÄλÊý
//s £º±íʾÊäÈë²ÎÊýÊÇ×Ö ......
ΪÁË͵ÀÁ£¬×¨ÃÅÓÃÁËJAVA¸ß¾«¡£¹ûÈ»ºÜ¼òµ¥¡£µ«ÊÇÔÚʹÓÃÇ°Ò»¶¨Òª×¢ÒâÉóÌ⣬ÓÐʱºò¸ù±¾²»ÐèÒªÓø߾«¼ÆËã¡£Ò»¶¨ÒªÓп´ÇåÌõ¼þ¡£
BigInteger
&nb ......
Ò»¡¢PO:
persistant object
³Ö¾Ã¶ÔÏó,¿ÉÒÔ¿´³ÉÊÇÓëÊý¾Ý¿âÖеıíÏàÓ³ÉäµÄjava¶ÔÏó¡£×î¼òµ¥µÄPO¾ÍÊǶÔÓ¦Êý¾Ý¿âÖÐij¸ö±íÖеÄÒ»Ìõ¼Ç¼£¬¶à¸ö¼Ç¼¿ÉÒÔÓÃPOµÄ¼¯ºÏ¡£POÖÐÓ¦¸Ã²»°ü
º¬ÈκζÔÊý¾Ý¿âµÄ²Ù×÷¡£
¶þ¡¢VO
:value
objectÖµ¶ÔÏó¡£Í¨³£ÓÃÓÚÒµÎñ²ãÖ®¼äµÄÊý¾Ý´«µÝ£¬ºÍPOÒ»ÑùÒ²Êǽö½ö°üº¬Êý¾ ......