C
charly
Greetings, I'm trying to create graphics with jfree in an applet
here are the facts :
<HTML>
<HEAD>
<TITLE>Hello to Everyone!</TITLE>
</HEAD>
<BODY>
<APPLET codebase="http://localhost/applets/classes"
CODE="AppletBarChartDemo.class"
WIDTH="400"
HEIGHT="325"
archive="jfreechart-0.9.18.jar, jcommon-0.9.3.jar, log4j-1.2.8.jar>
<PARAM name="sourcexml" value="donnees.xml" >
</APPLET>
</BODY>
</HTML>
My console says :
java.io.IOException: Server returned HTTP response code: 400 for URL:
http://localhost/applets/classes/log4j-1.2.8.jar>
java.lang.NoClassDefFoundError: org/apache/log4j/Logger
java.lang.NoClassDefFoundError at
org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:386)
java.lang.NoClassDefFoundError at
org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:386)
but my webserver (IIS on w2K) structure is thus :
root/applets/classes/
in it, I got the class files and the afore mentioned jars
And of course, I can run it under eclipse as an applet !!!
Browsers tested are IE6 and Firefox..
any tips ?
here are the facts :
<HTML>
<HEAD>
<TITLE>Hello to Everyone!</TITLE>
</HEAD>
<BODY>
<APPLET codebase="http://localhost/applets/classes"
CODE="AppletBarChartDemo.class"
WIDTH="400"
HEIGHT="325"
archive="jfreechart-0.9.18.jar, jcommon-0.9.3.jar, log4j-1.2.8.jar>
<PARAM name="sourcexml" value="donnees.xml" >
</APPLET>
</BODY>
</HTML>
My console says :
java.io.IOException: Server returned HTTP response code: 400 for URL:
http://localhost/applets/classes/log4j-1.2.8.jar>
java.lang.NoClassDefFoundError: org/apache/log4j/Logger
java.lang.NoClassDefFoundError at
org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:386)
java.lang.NoClassDefFoundError at
org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:386)
but my webserver (IIS on w2K) structure is thus :
root/applets/classes/
in it, I got the class files and the afore mentioned jars
And of course, I can run it under eclipse as an applet !!!
Browsers tested are IE6 and Firefox..
any tips ?