Java/JspÅäÖÃ
JAVAÅäÖãº
1£º JAVA_HOME £º C:\Program Files\Java\jdk1.6.0_12
2£ºCLASSPATH £º .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
3£ºPATH £º %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
TomcatÅäÖãº
1£º CATALINA_HOME £ºc:\tomcat
2£º CATALINA_BASE £º c:\tomcat
3£ºCLASSPATH ºóÃæ¼ÓÉÏ£º%CATALINA_HOME%\common\lib\servlet.jar
Êý¾Ý¿âÅäÖãº
ÔËÐÐeclipse,´°¿Ú->Ê×Ñ¡Ïî->java->installed jre->(Ñ¡ÖÐÆäÖÐÒ»¸ö)->±à¼->È¡ÏûϵͳĬÈÏjre->Ìí¼ÓÍⲿjre->ÕÒµ½jdbcÎļþ¼ÐÖеÄmysql-connector-java-5.0.0-beta-bin.jar(¸ÃÏî¿ÉÄܲ»Ëù²»Í¬,²»¹ýûÓйØÏµ)->È·¶¨.ÄÇô¾Í¿ÉÒÔÔÚeclipseÖÐʹjavaÓëmysqlÁ¬½ÓÁË
jspÊý¾Ý¿âÅäÖãº×¢ÒâÕâÀïÓ¦¸Ã¸øtomcat°üÌí¼Ó¶îÍâµÄÊý¾Ý¿â°ü£¡
Ïà¹ØÎĵµ£º
Java ¿ª·¢ÎªÊ²Ã´ÐèÒª UML
¡¡¡¡ÖªµÀ UML Ôì³ÉÁËÔõÑùµÄ¾ÖÃæ´ó»ìÂÒÂð£¿ÖªµÀʲôÑùµÄ¹¦ÄÜÊÇ UML ÓµÓе« JAVA ²»¾ß±¸µÄÂð£¿ÖªµÀÎÒÃÇΪʲôÐèÒª³ý JAVA ÍâµÄÁíÒ»ÖÖµçÄÔÓïÑÔÂð£¿UML ²¢²»½ö½öÖ»ÊÇ JAVA »òÕ߯äËüʲôÓïÑÔµÄÌæ´úÆ·¡£UML ÊÇÃæÏò¶ÔÏóµÄ·ÖÎö¼°Éè¼ÆµÄ×¢ÊÍ¡£UML ÊǶÀÁ¢ÓÚÄÇЩ´«Í³Éè¼ÆÓïÑÔÖ®ÍâµÄÒ»ÖÖÓïÑÔ¡£ÒòΪ UML ......
¸´ÖÆÊý×éµÄ·½·¨£º
ÔÚJAVAÀïÃæ£¬¿ÉÒÔÓø´ÖÆÓï¾ä“A=B”¸ø»ù±¾ÀàÐ͵ÄÊý¾Ý´«µÝÖµ£¬µ«ÊÇÈç¹ûA,BÊÇÁ½¸öͬÀàÐ͵ÄÊý×飬¸´ÖƾÍÏ൱ÓÚ½«Ò»¸öÊý×é±äÁ¿µÄÒýÓô«µÝ¸øÁíÒ»¸öÊý×飻Èç¹ûÒ»¸öÊý×é·¢Éú¸Ä±ä£¬ÄÇôÒýÓÃͬһÊý×éµÄ±äÁ¿Ò²Òª·¢Éú¸Ä±ä¡£
ÒÔÏÂÊǹéÄɵÄJAVAÖи´ÖÆÊý×éÔªËØÖµµÄµÄ·½·¨£º£¨É±´£©
1¡£Ê¹ÓÃFORÑ»· ......
java»º´æ¼¼ÊõÒ»£¨×ª£©
¿´Ò»Á£É³ÖеÄÊÀ½ç£¬ Ò»¶äÒ°»¨ÖеÄÌìÌᣠ°ÑÎÞÏÞÎÕÓÚÕÆÖУ¬ °ÑÓÀºãÎÕÓÚ˲¼ä¡£——ÍþÁ®• ²¼À³¿Ë
¿ªÊ¼ÌÖÂÛ»º´æÖ®Ç°,ÈÃÎÒÃÇÏÈÀ´ÌÖÂÛÌÖÂÛÁíÍâÒ»¸öÎÊÌâ:ÀíÂÛºÍʵ¼ù.´Óahuaxuan½Ó´¥µÄ³ÌÐòÔ±À´¿´,ÓеijÌÐòԱƫʵ¼ù,ÓеijÌÐòԱƫÀíÂÛ,µ«ÊÇÕâ¶¼ÊDz»ºÃµÄÐÐΪ,ÀíÂÛºÍʵ¼ùͬÑùÖØÒª,ÎÒÃÇÔÚ×öºÜ¶àº ......
2009-04-14 16:39
½üˮ¥̨ÏȵÃÔ£¬ÏòÑô»¨Ä¾Ò×Ϊ´º--------ËÕ÷ë
»º´æµÄ×÷ÓÃÔÚµÚÒ»ÂÛhttp://hi.baidu.com/%CB%BC%C3%F4%D3%EA/blog/item/908d0cdecbc8a71b495403cc.htmlÖÐÒÑÓв¿·Ö²ûÊö,ÏÂÃæahuaxuanºÍ´ó¼ÒÒ»ÆðÀ´Ñ§Ï°Ò»Ï»º´æµÃÁíÍâÒ»¸öÖØÒªµÄ¹æÔò,½üºÍ¿ì.
ÔÚÎÒÃÇ´ò¿ªä¯ÀÀÆ÷,¾ö¶¨ä¯ÀÀij¸öÍøÒ³Ö®Ç°(Ö¸ÈËÑÛ¿´µ½ÆÁÄ»ÉϵÄÄÚÈ ......
public class StringUtil
{
public static String convertToStringWithTrim(Object object)
{
if(null == object)
{
return null;
}
String returnStr = (String)object;
return Trim(returnStr);
}
public static String Trim(String str)
{
if(IsEmpty(str))
{
r ......