¹ØÓÚjavaÀà³õʼ»¯¹¤×÷ÏȺó˳ÐòµÄ×ܽá
ËäÈ»²»¾õµÃÔÚ±à³ÌʱÕýÈ·ÅжÏjavaÀà³õʼ»¯¹¤×÷ÏȺó˳Ðò»áÊÇÒ»¸öÌôÕ½£¬ÇÒ¶ÔÓÚÀà³õʼ»¯µÄÈÏʶ»¹Ö»Í£ÁôÔÚÓïÑÔÌØÐÔ»úÖÆµÄ²ãÃæ(»òÐí»áÊÇÒ»ÖÖʵÏÖ¼¼ÇÉÁìÓòµÄÒéÌâ)£¬µ«¶ÔÓÚ¹ØÓÚ³õʼ»¯ÕâÀàÁãÉ¢¶øÓÖϸСµÄ֪ʶµã£¬×ܽỹÊÇÓмÛÖµµÄ
Ïà¹ØÎĵµ£º
Java 6 RowSet ʹÓÃÍêÈ«ÆÊÎö(3)
¹Ø¼ü×Ö: rowset
Çåµ¥ 24. Çåµ¥ 23 ÖеĴúÂëÖ´Ðнá¹û
1 Tom Tom is VIP. 2 Jim null
ÏÂÃæÒ»½ÚÀïÎÒÃǽ«»á¿´µ½ JdbcRowSet ÈçºÎ×÷Ϊһ¸ö RowSet ºÍÆäËûµÄ RowSet Ò»ÆðʹÓá£
ʹÓà JoinRowSet
Ö§³ÖµÄÁªºÏ·½Ê½
JoinRowSet ½Ó¿ÚÖжÔÎåÖÖ²»Í¬µÄÁªºÏ·½Ê½¶¼¶¨ÒåÁ˶ÔÓ¦µÄ³£ÊýºÍÅжϸÃʵÏÖÊÇ·ñÖ ......
¹âÈÙµÄÔÚÆÚÄ©ÔÙÒ»´Î»¼ÉÏÁË“»¯Å§ÐÔ±âÌÒÌåÑ×”¡£´ø×Å39¶ÈµÄÌåο¼ÊÔµÄÈ·²»ÊǸöÊæ·þµÄÊ£¬ÄǼ¸ÌìÕâ°ÑÎÒ¸ø¼±µÃ°¡£¬×ܲ»ÄÜÔÚÕâ¸öʱºòÍí½Ú²»±£°É£¿Õæ²»ÖªÊÇΪʲô£¬Õâ¸ö²¡ÔÚÕâ°ë¸öѧÆÚÀïÕÛÄ¥ÁËÎҺü¸´Î£¬ÅªµÄÎÒ¶¼¶Ô×Ô¼ºÃ»Ê²Ã´ÐÅÐÄÁË£¬Ï£ÍûÕâ»ØÔÚ¼ÒÀïÄܹ»ºÃºÃµ÷ÕûÐÞÑøÒ»·¬£¬¿ªÊ¼ÐµÄÂó̡£
±ÏÉèµÄÌâĿҲ³öÀ´ÁË£¬Ö»²»¹ý ......
×¢:²»ÊʺÏweb¹¤³Ì
1¡¢ÀûÓÃSystem.getProperty()º¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
System.out.println(System.getProperty("user.dir"));//user.dirÖ¸¶¨Á˵±Ç°µÄ·¾¶
2¡¢Ê¹ÓÃFileÌṩµÄº¯Êý»ñÈ¡µ±Ç°Â·¾¶£º
File directory = new File("");//É趨Ϊµ±Ç°Îļþ¼Ð
try{
System.out.println(directory. ......
1. import java.text.DateFormat;
2. import java.text.ParseException;
3. import java.util.Date;
4.
5. /**
6. * @description 計ËãÁ½¸öÈÕÆÚÏà²îµÄÌìÊý
7. * @author ZhouJingxian
8. *
9. */
10. public class CountDate {
11.
12. ......