Start Upload button not visible with JBatchupload

Upload core product.
Post Reply
amrish_deep
Posts: 40
Joined: Tue Jun 17, 2008 5:14 am

Start Upload button not visible with JBatchupload

Post by amrish_deep »

on the interfave of UploadApplet Start Upload button is not visible.
Below is my code in aspx page where I embed the applet .Can you check whether the params for resource files (properties file) and values have been properly defined?

I have i18n.properties file already working on the same machine with .properties of MIME set to “text/plian”.Even now it reads the new properties file. I came to know this because “Select file” on the pane with jfileupload has now become “Select Files” .I could access the link http://server.com/something/i18n_bar.properties successfully.

<applet code="jfileupload.upload.client.MApplet.class"
java_codebase="
archive="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/batchui.jar"
width="430"
height="200"
name="fileupload"
MAYSCRIPT>
<param name=CODE value="jfileupload.upload.client.MApplet.class" />
<param name=CODEBASE value="./" /
<param name=ARCHIVE value="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/batchui.jar" />
<param name=NAME value="fileupload" />
<param name="type" value="application/x-java-applet;version=1.4" />
<param name="scriptable" value="true"/>
<param name="url" value="<%=uploadHandlerURL%>" />
<param name="paramfile" value="uploadfile" />
<param name="transferui" value="jfileupload.transfer.client.edesign.BatchTransferUI" />
<param name="transferuiresources" value="i18n_pane" />
<param name="resources" value="i18n_bar" /> Rekha>>This was i18n for Jfileupload and it was working fine. <param name="resetprogressbar" value="true" />
<param name="param1" value="todo" />
<param name="value1" value="upload" />
<param name="param2" value="errorheader" />
<param name="value2" value="custommessage" />
<param name="param3" value="relativefilename" />
<param name="value3" value="true" />
<param name="param5" value="httpmethod" />
<param name="value5" value="put" />
<param name="param6" value="cookiename" />
<param name="value6" value="ASP.NET_SessionId" />
<param name="param7" value="cookievalue" />
<param name="value7" value="<%=aspNetSessionID%>" />
<param name="param8" value="errorheader" />
<param name="value8" value="custommessage" />
<param name="param9" value="chunksize" />
<param name="value9" value="536870912" />
<param name="chunksize" value="536870912" />
<param name="overwrite" value="false"/>
<param name="folderdepth" value="-1" />
<param name="param10" value="resumecommand" />
<param name="value10" value="append" />
<param name="mode" value="http" />
<param name="blacklist" value="*.mp3" />
<param name="resume" value="true" />
<param name="forward" value="<%=redirectURL%>" />
<param name="forwardparameters" value="true" />

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Start Upload button not visible with JBatchupload

Post by support »

Your script seems fine. do you have any JavaScript error when the applet loads ? If the dynamic value you're inserting include some quote then it could break the JavaScript. Could you also try to clean your Java cache ? Start->Control Panel->Java->First tab->Delete temporary files->Apply

amrish_deep
Posts: 40
Joined: Tue Jun 17, 2008 5:14 am

Start Upload button not visible with JBatchupload

Post by amrish_deep »

Actually I tried deleting the temporary internet files.But that couldnot solve the problem.There are no quotes in the dynamic url passed by me.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Start Upload button not visible with JBatchupload

Post by support »

Could you open the Java Console and see if you have any error ?
http://www.jfileupload.com/products/jfi ... oting.html

Also, can you drop an email to support(at)jfileupload(dot)com to have a remote desktop session ?

amrish_deep
Posts: 40
Joined: Tue Jun 17, 2008 5:14 am

Re: Start Upload button not visible with JBatchupload

Post by amrish_deep »

I have opened the Java console and came to know about the error.It is a class not found exception.But what should be done to include the class?.Any ways below is the result of Java console.
Java Plug-in 1.6.0_11
Using JRE version 1.6.0_11 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\rbothalapalli
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


Apr 1, 2009 11:39:32 AM jfileupload.upload.client.MApplet <init>
INFO: JFileUpload 2.3 Build FINAL.001
Apr 1, 2009 11:39:34 AM jfileupload.transfer.client.http.HTTPTransfer autoDetectProxy
INFO: Auto-detect proxy settings : host = null
Apr 1, 2009 11:39:34 AM jfileupload.transfer.client.http.HTTPTransfer autoDetectProxy
INFO: Auto-detect proxy settings : port = -1
Apr 1, 2009 11:39:35 AM jfileupload.transfer.client.util.Conf getTransferUI
SEVERE: java.lang.ClassNotFoundException: jfileupload.transfer.client.edesign.BatchTransferUI

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Start Upload button not visible with JBatchupload

Post by support »

This error means batchui.jar is not found. Could you check you have bachui.jar in lib/ folder ?
Also, double check you have batchui.jar in all ARCHIVE parameters in the JavaScript.

amrish_deep
Posts: 40
Joined: Tue Jun 17, 2008 5:14 am

Re: Start Upload button not visible with JBatchupload

Post by amrish_deep »

I have used ARCHIVE parameters only at two places while embedding the applet in my aspx page as posted in my previous post.I have the batchui.jar in the lib folder as well as in ARCHIVE parameters.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Start Upload button not visible with JBatchupload

Post by support »

Is it possible to have a remote desktop session with you ?
If so drop and email to support(at)jfileupload(dot)com

amrish_deep
Posts: 40
Joined: Tue Jun 17, 2008 5:14 am

Re: Start Upload button not visible with JBatchupload

Post by amrish_deep »

Can you specify your timezone and convenient time for you to have webex session or netmeeting?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Start Upload button not visible with JBatchupload

Post by support »

3:00 P.M EST. Just drop an email to support(at)jfileupload(dot)com

Post Reply