I've 2 questions about the jImageUpload application.
1) I try to send a custommessage to the applet but I receive the entire time: "upload failed: server error".
The code I have in the applet js file:
Code: Select all
document.writeln('<PARAM NAME="paramfile" VALUE="uploadfile">');
document.writeln('<PARAM NAME="param1" VALUE="todo">');
document.writeln('<PARAM NAME="value1" VALUE="upload">');
document.writeln('<PARAM NAME="param2" VALUE="errorheader">');
document.writeln('<PARAM NAME="value2" VALUE="custommessage">');
document.writeln('<PARAM NAME="param3" VALUE="relativefilename">');
document.writeln('<PARAM NAME="value3" VALUE="true">');
Code: Select all
header("HTTP/1.1 401 OK");
header("custommessage: blaat");
What is the fault?
2) The next question is about Javascript.
ABove my applet i've a set of checkboxes. I want the checked one in my Java post.
Is there a way to do that?
Thkx in advance!