Ulf Dittmer wrote:Welcome to JavaRanch.
Are there any error messages in the Java Console?
Ulf Dittmer wrote:It's not a compilation problem, it's a runtime problem.
The applet tag needs an archive attribute that points to the Commons Net jar file.
Ulf Dittmer wrote:Start reading here: http://java.sun.com/docs/books/tutorial/deployment/applet/html.html
It explains the archive attribute.
archive="ftptest1.jar, commons-net-ftp-2.0.jar "
I read that browser make one connection for each file in "archive".. is better make JAR
Ulf Dittmer wrote:That's not how jar files work. You can't keep one jar file inside of another one. Put both jar files side by side in the same directory, and then use
archive="ftptest1.jar, commons-net-ftp-2.0.jar "
Ulf Dittmer wrote:
I read that browser make one connection for each file in "archive".. is better make JAR
I don't understand this comment. What's supposed to be the problem with that?
archive = "packet1.jar,packet2.jar,packet3.jar,packet4.jar"
I think the browser make one http petition for each archive (in this case 4 petition)... so... each petition mean the client browser must wait to server response to download the file.. right?.. if we have 4 files... need wait 4 times more... If we have only 1 archive only must wait the time of one connection...
Consider Paul's rocket mass heater. |