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°üÌí¼Ó¶îÍâµÄÊý¾Ý¿â°ü£¡
Ïà¹ØÎĵµ£º
2009-04-14 16:39
½üˮ¥̨ÏȵÃÔ£¬ÏòÑô»¨Ä¾Ò×Ϊ´º--------ËÕ÷ë
»º´æµÄ×÷ÓÃÔÚµÚÒ»ÂÛhttp://hi.baidu.com/%CB%BC%C3%F4%D3%EA/blog/item/908d0cdecbc8a71b495403cc.htmlÖÐÒÑÓв¿·Ö²ûÊö,ÏÂÃæahuaxuanºÍ´ó¼ÒÒ»ÆðÀ´Ñ§Ï°Ò»Ï»º´æµÃÁíÍâÒ»¸öÖØÒªµÄ¹æÔò,½üºÍ¿ì.
ÔÚÎÒÃÇ´ò¿ªä¯ÀÀÆ÷,¾ö¶¨ä¯ÀÀij¸öÍøҳ֮ǰ(Ö¸ÈËÑÛ¿´µ½ÆÁÄ»ÉϵÄÄÚÈ ......
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
public class ThreadLog
{
private final static String _detailLogFile = "log"+File.separator+"detail";
private static boolean _logFlag = true;
priv ......
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
public class ExceptionDefaultHandler
{
private final static String _relativeExceptionLogPath = "log";
private final static String _defaultExceptionLogFileName = "exception.log";
......
ÕªÒª£º±¾ÎĽ«Ì¸Ì¸ÔÚJavaÓ¦ÓóÌÐòÖÐʹÓÃJfreechartÅäÖã¬JFreeChartÊÇÓÃJava¿ª·¢µÄÒ»¸öÃâ·ÑµÄchartͼÐδ¦ÀíÀà¿â¡£
²âÊÔ»·¾³£º
OS¡¡£ºWindowsXP
Java£ºjdk1.5.0_06
JFreeChart£º1.0.9£¨2008Äê3Ô¡¡×îа汾£©
ÒòΪJFreeChart²ÉÓÃJava¿ª·¢¶ø³É£¬ËùÒÔÔÚÆäËûϵͳҲÄÜÕý³£ÔËÐС£
JFreeChartµÄ°²×°
1£¬ÏÂÔØ
´ÓSourceforge. ......