Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java web²¿Êð


 ¸÷Èí¼þʹÓð汾
£º
  Tomcat
°æ±¾£º
apache-tomcat-5.5.17
  Jdk
°æ±¾£º
jdk1.6.0_11
  Mysql
°æ±¾£º
mysql-5.0.77-win32
 
1.      
jdk
°²×°
н¨ÏµÍ³±äÁ¿
JAVA_HOME
£º
C:\Program Files\Java\jdk1.6.0_11
×¢Ò⣺½¨¹ýÖ®ºó¿ÉÒÔÊÔһϣ¬·ñÔò
tomcat
»áÒ»ÉÁ¶ø¹ý£¬ÎÞ·¨Æô¶¯
н¨ÏµÍ³±äÁ¿
CLASSPATH
£º
.;%JAVA_HOME%\lib;
£¨×¢Ò⣺µãºÅ±íʾµ±Ç°Ä¿Â¼£¬²»ÄÜÊ¡ÂÔ£©
ÔÚϵͳ±äÁ¿
Path
µÄÖµµÄÇ°Ãæ¼ÓÈëÒÔÏÂÄÚÈÝ£º
%JAVA_HOME%\bin;(
×¢Òâ
:
ÕâÀïµÄ·ÖºÅ²»ÄÜÊ¡ÂÔ
)
2.      
°²×°
Tomcat
н¨ÏµÍ³±äÁ¿
CATALINA_HOME
£º
C:\Program
Files\Java\apache-tomcat-5.5.17
ÔÚϵͳ±äÁ¿
CLASSPATH
µÄÖµµÄ
ºóÃæ
¼ÓÈ룺
%CATALINA_HOME%\common\lib;
ÔÚϵͳ±äÁ¿
Path
µÄÖµÖÐ
"%JAVA_HOME%\bin;"
µÄ
ºóÃæ
¼ÓÈëÒÔÏÂÄÚÈÝ£º
%CATALINA_HOME%\bin;
3.      
Mysql
°²×°
  
http://www.jz123.cn/text/2719438.html


Ïà¹ØÎĵµ£º

Java ѧϰÔÓ̸

1£® ¹ØÓÚ¶¯Ì¬¼ÓÔØ»úÖÆ??
ѧϰJava±ÈC++¸üÈÝÒ×Àí½âOOPµÄ˼Ï룬±Ï¾¹C++»¹»ìºÏÁ˲»ÉÙÃæÏò¹ý³ÌµÄ³É·Ö¡£ºÜ¶àÈ˶¼Äܱ³³öÀ´JavaÓïÑÔµÄÌص㣬ËùνµÄ¶¯Ì¬¼ÓÔØ»úÖƵȵȡ£µ±È»¸ÅÄîÍùÍùÊÇÏȼÇס¶øºóÏû»¯µÄ£¬¿ÉÓжàÉÙÈËÕæÕýÈ¥Ìå»á¹ý¶¯Ì¬¼ÓÔصĻúÖÆ£¬ÊÔͼȥѰÕÒ¹ýÆäÖеÄϸ½ÚÄØ?  Ìṩ´ó¼ÒÒ»¸ö·½·¨£º
ÔÚÃüÁîÐд°¿ÚÔËÐÐJava³ÌÐòµÄÊ ......

javaÖÐmap¼¯ºÏµÄÓ÷¨


http://blog.csdn.net/ycyangcai/archive/2009/06/21/4285997.aspx
1.ÉùÃ÷Ò»¸ömap: Map map = new HashMap(); 
2.ÏòmapÖзÅÖµ,×¢Ò⣺mapÊÇkey-valueµÄÐÎʽ´æ·ÅµÄ.Èç:
     map.put("sa","dd");
3.´ÓmapÖÐÈ¡Öµ:String str = map.get("sa").toString();½á¹ûÊÇ:str = "dd";
4.±éÀúÒ»¸ömap£¬´Ó ......

JavaʵÏÖ½«Mapת»»ÎªListµÄС´úÂë

import java.util.ArrayList; 
import java.util.HashMap; 
import java.util.Iterator; 
import java.util.List; 
import java.util.Map; 
public class ConvertMapToList {
    /**
     * ʵÏÖ½«HashMapת»»³ÉΪArrayList£¬²¢½«mapµÄKey ¡¢Value·Ö± ......

JPetStore 5.0(iBATIS for java)ÖÐItem.xmlµÄbug

Caused by: java.sql.SQLException: ORA-00918: column ambiguously defined
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:  
--- The error occurred in com/ibatis/jpetstore/persistence/sqlmapdao/sql/Item.xml. 
--- The error occurred while applying a parameter map.&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ