JAVA ѧϰ֮µÀ
ÏÖÔÚÒѾ¿ªÊ¼Ñ§Ï°javaÒ»¸öÔÂ×óÓÒµÄʱ¼äÁË¡£ÒÔÇ°¶ÔjavaÓÐһЩ»ù±¾µÄÁ˽⣬ ÔÚÇ°¼¸¸öÔµÄʱ¼äµ±ÖУ¬Ñ§Ï°ÁË.netµÄ¼¼Êõ£¬¶ÔÃæÏò¶ÔÏóµÄÉè¼ÆÓÐÁ˸üÉîµÄÒ»¸öÈÏʶ£¬ÔÚÒ»¸öżȻµÄ¹¤×÷»ú»áÉÏ£¬½á½»ÁËÒ»¸öÅóÓÑ¡£ËûÎÊÎÒÏëÔÚÄÄÒ»·½Ïò·¢Õ¹£¬ÆäʵÎÒÒ²²»Çå³þ£¬Ëû˵Ҫ×Ô¼º¶¨ºÃÒ»¸öλ£¬È»ºóÕâÑùÕÕ׿ƻ®×ßÏÂÈ¥¡£
ºóÀ´ÎҾͿªÊ¼Ñ§Ï°java,ÏÈÈÃ×Ô¼º¶àÁ˽âһЩ»ù±¾µÄ¶«Î÷£¬È»ºó·¢ÏÖ×Ô¼ºµÄ³¤´¦ÔÚÄÄÀÕâÑùÀ´È·¶¨×Ô¼ºµÄ·ÏßÓ¦¸ÃÏòºÎ´¦£¬´Ó¶ø´ø¶¯×Ô¼º¡£¾¹ýÕâÒ»¸öÔµÄѧϰ¡£´Ó¿Î±¾£¬µ½ÅäÌ×µÄÒ»¸öÊÓƵ½Ì³Ì¡£ËäÈ»´ËʱÊÓƵ½Ì³Ì»¹Ã»Óп´Íê¡£µ«¿Î±¾µÄ֪ʶÒÑ¿´ÍêÁË¡£ÊÕ»ñÒ²²»Ð¡¡£»ù±¾ÉÏÅäÖúÃÁËmyeclipse +apache +mysql¡£ËäȻûÓÐд¹ý×Ô¼ºµÄ´úÂë½øÐÐÔËÐУ¬µ«µ÷ÊÔÅäÖõĴúÂëÊÇÔËÐгɹ¦µÄ¡£
ÉϸöÐÇÆÚ£¬ÀÏÆÅ°ïÎÒÔÚÍøÉÏÏÂÁ˼¸±¾java·½ÃæµÄµç×ÓÊ飬¸Ð¾õͦÓÐÓõġ£myeclipseµÄÒ»¸öÖÐÎÄʹÓÃÊֲᣬjava¾µä´úÂ룬Struts_In_ActionʹÓÃÁìÏȵÄJava¿ò¼Ü¹¹½¨WebÓ¦ÓÃÖÐÎİ棬Õë¶ÔJava³ÌÐòÔ±µÄUML¸ÅÊö.pdf¡£Õ⼸±¾ÊéÈç¹û×Ô¼ºÄÜÎüÊÕµ½80%µÄÄÚÈÝ£¬ÄÇô»ù±¾¼¼ÊõÒ²ÓÐÒ»¶¨µÄÄÜÁ¦ÁË¡£²»¹ÜÔõôÑùcoding¾ÍÊÇÒÔʵ¼ÊµÄ¾ÑéÀ´Ö§³ÖµÄ¡£ËùÒÔµÃÕÒÏîÄ¿À´¶ÍÁ¶£¬¼ÓÇ¿×Ô¼ºµÄÄÜÁ¦¡£
×òÌìÔÚ¼ÒµçÄÔÉÏÅäÖÿª·¢»·¾³¡£½á¹ûapache ʼÖÕ²»ÄÜÁ¬½Óµ½mysql£¬ºóÀ´ÉèÖÃÁËjava_home»·¾³±äÁ¿ºó¾ÍÄÜÔËÐÐÁË¡£µ«ÎÒÔÙ°Ñjava_home±äÁ¿ÖµÐÞ¸ÄÁË£¬²âÊÔ»¹Êdzɹ¦£¬ÕâÒ»µãûÓÐÏëÃ÷°×ÊÇΪʲô¡£ÁíÍâÒ»¸ö¾ÍÊÇmyeclipseÖÐÅäÖÃĬÈϵÄderbyÊý¾Ý¿â£¬¾ÍÊÇÕÒ²»µ½driver class name.ÕâЩÎÊÌ⣬¶¼ÊÇ×Ô¼º²»ÊìϤ¹ý³Ìµ¼Öµġ£Ôڰ칫ÊҵĵçÄÔÉϾÍÄÜÒ»´ÎÐÔÅäÖúᣰ汾ҲÊÇÏàͬµÄ£¬ÔÒò¾ÍÊǹֵֹģ¬Ëæ×Å°æ±¾µÄ¼Ó´ó£¬javaµÄÏà¹ØÅäÖÃÒ²¼òµ¥¶àÁË¡£
ÎÒ»¹ÊÇÔÙѧϰ¼¸ÌìÁË¡£×¼±¸ÒÔÒ»¸öʵ¼ÊµÄÏîÄ¿À´¶ÍÁ¶×Ô¼ºµÄ¶¯×÷ÄÜÁ¦£¬ÈÃ×Ô¼ºÔçÒ»µã“ÃæÏò¶ÔÏ󔣡
Ïà¹ØÎĵµ£º
³£¿´ºÜ¶àÈëÃÅÄñÃÇÔÚfinal ºÍstaticÔËÓÃÉϸе½ÃÔ㣬ÏÖ×ܽáÒ»ÏÂfinalºÍstaticµÄÔËÓ÷½·¨£¬Ï£Íû¶Ô´ó¼ÒÓаïÖú¡£
£¨ÎÒÒ²ÊDzËÄñ£©
Ò»¡¢final
¸ù¾Ý³ÌÐòÉÏÏÂÎÄ»·¾³£¬Java¹Ø¼ü×ÖfinalÓГÎÞ·¨¸Ä±ä”»òÕß“ÖÕ̬”µÄº¬Ò壬Ëü¿ÉÒÔÐÞÊηdzéÏóÀà¡¢·Ç³éÏóÀà³ÉÔ±·½·¨ºÍ±äÁ¿¡£
finalÀ಻Äܱ»¼Ì³Ð£¬Ã»ÓÐ×ÓÀ࣬final ......
String Agent = request.getHeader("User-Agent");
StringTokenizer st = new StringTokenizer(Agent,";");
st.nextToken();
//µÃµ½Óû§µÄä¯ÀÀÆ÷Ãû
String userbrowser = st.nextToken();
//µÃµ½Óû§µÄ²Ù×÷ϵͳÃû
String useros = st.nextToken();
È¡µÃ±¾»úµÄÐÅÏ¢Ò²¿ÉÒÔÕâÑù£º
²Ù×÷ϵͳÐÅÏ¢
System.getProperty("o ......
ÀàÊÇÒ»¸ö³éÏóµÄ¸ÅÄÊÇÖ¸°Ñ¾ßÓÐÏàͬÊôÐÔºÍÏàͬÐÐΪÌØÕ÷µÄ¶ÔÏó¹éΪһÌå
¶ø¶ÔÏó¾ÍÊÇÒ»¸ö¾ßÌåµÄÊÂÎËüÊÇÊôÓÚij¸öÀàµÄÒ»¸öÌØÀý
ÔÚÒ»¸öÀàÖУ¬Ö»ÓÐÊôÐÔ¶¨ÒåºÍ·½·¨¶¨Ò岿·Ö£¬ÆäËûÓï¾ä¶¼ÊÇ´íÎó ......
ÔÚÎÒÃÇд³ÌÐòµÄʱºò,ÓÐʱ»áÒªÇó±£´æһЩÊý¾Ý,±ÈÈçÓû§Ãû»òÕß±ðµÄ,µ«ÊÇÕâÑùÊý¾ÝÓÖ²»ÊDZ£´æÔÚ³ÌÐòͬһĿ¼ÏÂ,ÕâÑù×öÌ«Ã÷ÏÔÁË,Ò²²»Ì«°²È«,ÄÇÔõô°ìÄØ?Õâ¸öʱºò,Èç¹ûÄÜ°ÑÊý¾Ý±£´æµ½×¢²á±íÀïÃæÈ¥,ÄǸöàºÃ,Ò»À´Òþ±Î,¶þÀ´·½±ã,²»ÖÁÓÚÔÚ³ÌÐòĿ¼ÏÂÉú³ÉÒ»´óƬÎļþ.
ÔÚJAVAÀïÃæ,¿ÉÒÔÀûÓÃjava.util.prefs.PreferencesÀ´¶Ô×¢²á±í½øÐ ......
http://www.andykhan.com/jexcelapi/¿ÉÒÔÏÂÔص½µÚÈý·½jxl.jar°ü£¬²¢ÇÒexcelÒª±£´æΪ2003»òÒÔÇ°µÄ°æ±¾
package com.excel;
// 1 Îļþ¶ÔÏó 2¹¤×÷²¾¶ÔÏó 3 µ¥Ôª¸ñ¶ÔÏó¡£
//ÏàÓ¦µÄÔÚJXLÖоÍÓÐWorkbook£¬Sheet £¬Cell ¡£
import java.io.*;
import jxl.*;
public class GetExcelValues3 {
public static void main(Strin ......