Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I need an applet to be signed in order to be able to give it permissions to read from the local file system and be able to upload the selected file ( I am using file chooser). what I need to know is that how to sign my applet (free certificate) using the easiest way. I don't want each client machine to have the files. so I want to use plug-in 1.3 because I knew that it is a new feature of this plug-in version. if any one have other suggestion , I will be grateful. Please provide me with the required steps that signs my applet! Thanks, Jimi.
Jimi, Have you managed to get the file uploading? I'm trying to do the same thing and am having a tough time getting the applet to upload the file to the server. Any help would be greatly appreciated. To create a signed applet: Internet explorer requires a cabinet file (.cab), created using cabarc. eg. cabarc -r -p n c:\imageupload\imageuploadapplet.cab c:\imageupload\*.class then sign the .cab file using signcode eg. signcode c:\imageupload\imageuploadapplet.cab these tools are part of the Microsoft SDK available from the microsoft site. Netscape however requires a signed jar file so use the jar tool eg. jar cvf c:\imageupload\imageuploadapplet.jar imageupload\*.class and the jarsigner tool eg. jarsigner -storepass pword c:\imageupload\imageuploadapplet.jar keyalias you need to create a keystore first by using something like this... keytool -genkey -alias "whateverYouWant" then if you want to add another key you use keytool -genkey -alias "anotherName" -keystore whateverYouCalledTheKeystore these tools can be found in JDK 1.2
I think this should work If the applet is for internet use, you might need to obtain a certificate from somewhere like verisign, so people know that the applet is authentic. Daniel
Hi Daiel, Sorry for late reply,Please provide me with extra info about your problem of file uploading using Applet. I have signed my applet successfully but on "appletviewer" ,and it is able to upload files using servlet. I don't know if you have taken a look on the "servlet and jsp" forum under the "Urgent" topic that was posted by me . Regarding the signning applet process under Netscape, I want you to know that I have done the signning step by step , but it is not working . I would be grateful if you can help. note that I am using Netscape 6 and a testing cert. the message that appears on netscape is "applet not inited" . Thanks, Jimi.