Ok, first problem fixed, taking out the spaces worked. Thank you.
Now for the 2nd problem. I copied the i18n.properties file to the same folder as the .js file.
Code: Select all
// BEGIN: Update parameters below for INTERNET EXPLORER, FIREFOX, SAFARI, OPERA, MOZILLA, NETSCAPE 6+ support.
document.writeln('<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">');
document.writeln('<PARAM NAME=CODEBASE VALUE="./">');
document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/ftpimpl.jar,lib/cnet.jar,lib/clogging.jar">');
document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
document.writeln('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">');
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="resources" VALUE="i18n">');
document.writeln('<PARAM NAME="mode" VALUE="ftp">');
// END
Here is the applet error I get:
Jan 12, 2009 12:03:21 PM jfileupload.upload.client.MApplet <init>
INFO: JFileUpload 2.2 Build FINAL.001
java.util.MissingResourceException: Can't find bundle for base name i18n, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at jfileupload.transfer.client.util.E.A(Unknown Source)
at jfileupload.transfer.client.util.Conf.F(Unknown Source)
at jfileupload.transfer.client.util.Conf.B(Unknown Source)
at jfileupload.upload.client.MApplet.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.util.MissingResourceException: Can't find bundle for base name i18n, locale en_US
Thanks,
-Ken