574 byte By
BrianBug at 2007-9-26 19:30:38
Hello everyone. I am actually very new here and would like to make friends with you guys. However, I am actually encountering a problem, and any helps from you will be much appreciated.The problem is: I have written a Java Applet class, and I would like to connect to Web-Servers in order to ...
699 byte By
patrix3 at 2007-9-26 19:33:20
I want to sign a jar file and also make a cab file (for IE VM) with the same certificate but I can't :First I tried to generate a certificate with makecerts (SDK for Windows) and I've imported it in keystore with keytool. That's ok except I can't signed my jar file with (it said certificate ...
792 byte By
rcoons at 2007-9-26 19:41:43
Watch out for this problem if you are importing certificates with the keytool:I requested a Java Code Signing certificate from Thawte. When I downloaded it, I downloaded in the PKCS #7 format as Thawte recommended. When I tried to import the certificate file with keytool, I got the following ...
480 byte By
pckim33 at 2007-9-26 19:43:14
I've modified the .java.policy file to read: grant codebase " http://pckim.us.com:8600/html.* { permission java.io.FilePermission "<<ALL FILES>>", "write";};I wrote an applet that writes to a file on my client machine but when I run it in Netscape I'm getting a "security checkfile" ...
226 byte By
hogebooj at 2007-9-26 19:45:53
When I query the available ports with CommPortIdentifier.getPortIdentifiers(), no CommPortIdentifiers are returned. Does anybody know the Permission that must be set in the policy file for the javax.comm package?
380 byte By
tanethq at 2007-9-26 19:47:57
JDK 1.3.1 on RH7.0I'm working on the Intranet, and our ISP gave me our Thawte certificate issued for our website (that they requested, on our behalf).I imported it with keytool and -list shows it OK.When I try to sign a jar, jarsigner issues an error that: certificate not found for: ...
90 byte By
ssuzanne at 2007-9-26 19:48:53
Is it possible to write an application which when run executes a *.bat file.
I am going back to the basics to figure out why my huge program doesn't work as an applet in IE.I have the following little codeimport javax.swing.*; public class Something{public static void init(){new Something();} public static void main(String[] args) {new Something();} public ...
367 byte By
kurtll at 2007-9-26 19:52:53
I've got some signed applet that works correctly with all browsers except NS6. When I try to execute them appears the following exception:java.lang.SecurityException: class "MySignedApplet"'s signer information does not match signer information of other classes in the same packageWhy? What ...
662 byte By
jeca at 2007-9-26 19:52:55
I need to run my Java applet/application directly from the net. The two alternatives Ive come across are the signed applet and Java web start. As I understand it both alternatives need to be signed, and then the user have to1. Get my certificate2. Import this certificate into a keystore3. ...
I have enabled myapplet with plug in control using htmlconverter and now my applet is loading in all the browser across networks.but the problem is i don't know hot to access the method of the applet using javascript function ( I hope you could understand the problem)please refer to the code ...
I have an applet that needs access to a user's system. I have already signed the applet, but I think I need to create a policy file that will give the applet access to the user's network (so that the applet can connect to a database server). I keep reading that I have to use a policy file, ...
408 byte By
adeolia1 at 2007-9-26 20:13:42
hi there i have started a final year project on java.it is a simple drawing applet however i need to be able tosave my drawings to a local hard disk. i have tried going through the tutorial but i dnt get it. please can any1 out there help me. my email address is adeolia@hotmail.com if you give ...
330 byte By
benky at 2007-9-26 20:14:15
Hi all,i signed applet which is trying to modify file tmp.txt on client machine. Is there any opportunity for client to forbid this action for signed applet?I tried use policy file but i was unlucky. It is ok for unsigned applet but what about signed one?Thank you for your response.benky ...
470 byte By
ZiadM at 2007-9-26 20:20:53
Hi,I'm new to Java (especially applets). I have an applet and I have compressed it into JAR and CAB (i also have a signed CAB as well). When i use the JAR to run the applet it runs fine. But when i use the CAB (signed or unsigned) I get a ClassNotFoundException. i cant seem to figure out why ...
702 byte By
Hans1981 at 2007-9-26 20:21:51
Hello all,I would like to be able to print whatever is on my panel, but in an Applet I am not allowed to do so because of the securities. When I try to print I get the following exception:java.security.AccessControlException: access denied (java.lang.RuntimePermission queuePrintJob)By the way, ...
466 byte By
eucos at 2007-9-26 20:24:51
I've written an applet that connects to a MS Access database. This applet works fine when run in Appletviewer (with the policy file included). The problem is when I try to run it in a Browser the applet is "not initialized" Can anyone suggest a solution. The point of this applet is to be ...
Reading the output from a object running in the local machine.By using a signed applet i am lunching a small application that returns an image object, how to read that without storing it in the hard disk. Which means i need to read the image object return by the local application using applet ...
I signed my applets with Keytool certification tool. Now I'm searching for a nice installation routine for the users.At the moment, they have to1. Download (using run from...)2. answer many questionsto install Certificate on their machine.I searched this forum for a better way but didn't ...
314 byte By
NNN18 at 2007-9-26 20:51:16
hi ,,, i have problem in loading my applet in the browser IE5.0 ,(my applet read and write to file in the local machine) but it dos't work with bowser (its working with AppletViewer) i read that i have to sign my applet ....can you help me in signing my applet ,,,please thanx ...
OK... I just don't get it any more.I'm using JDK1.3.x and 1.4.I have a signed applet.When I go to the web page. I have the dialog stating that my applet is signed all right and if I want to grant it rights... etcThen, the signed applet reads a file from the local filesystem. It works. I ...
578 byte By
hosuke at 2007-9-26 21:10:49
Hi, I'm developing two applets that simulate a client and a server applications.The first applet is the client, and it only tries to connect to the server and when it does it has to display a message by notifying that.The second applet is the server, and only waits for an incoming connection ...
660 byte By
wdonowho at 2007-9-26 21:21:21
I have seen posts similar to this several times, but have yet to see an answer. So, I'll try my question.I have a signed applet that has run for several years without problems. Recently I recompiled the applet with Java 2 and installed a new plug-in. The applet runs great and does everything ...
219 byte By
puikay at 2007-9-26 21:24:13
Hello,I am new to applet and now my applet (JApplet) needs to write file to the server. My applet will be shown in browser (IE 5.5). So can anyone tell me how to do it? Thank youpuikay
I saw in the list of JavaWebStart (the one that comes with JDK1.4) that it includes among others the Thawte Personel Freemail CA. That seems to be cheaper than the other certificates I have seen, so does it really work?Has anybody signed succesfully an applet with such a certificate? ...
233 byte By
irablee at 2007-9-26 21:43:37
I've read irene67's posts in the FAQ about the 10 steps for signing an applet. But step 10 isn't clear. Explicitly what kind of link in the html file should I make to the .crt file?-Iraira@metistech.com
Hi,I have created my own certificate say "myCert.crt" using keytool utility shipped with JDK 1.3Then i signed my jar with jarsigner and it was signed successfully.I am using Apache and Tomcat 3.2.I added the jar to Apache\htdocs folderBut when i try to run my application the plug-in throws an ...
Im an indipendant developer.. i want to buy a cert so I can distribute some of my code.... anyone know the best CA to buy from ?and what about the cheapest ? Thanks,J.
149 byte By
doomed1 at 2007-9-26 21:48:03
I need the code for a signed applet which would read the History (URLs visited) or even the Temporary internet folder.thank you.
491 byte By
woonbock at 2007-9-26 21:52:32
Hi, i need to upload files using applet. pls brief me on the steps...1)design code2)sign applet....im stuck...i have seen some steps here abt signing applet in some of the links provided in this forum group. Firstly, once user has signed it, does he/she need to sign everytime he uses the ...
HiI am generating a window from an Applet, that window is showing as "Unsigned Applet" on the status bar of a frame in Netscape, but not in IE.After going through couple of news groups, I have signed jar and cab file. Still it behaves the same way.Problem here is, when there is a status bar, ...
123 byte By
kmbase at 2007-9-26 22:01:21
Is it possible to have applet socket server? if so, pls tell me the method. Thanks.regards,Bala
390 byte By
btomasb at 2007-9-26 22:03:08
Please help me. I need to access javax.comm in an apllet. I created a signed applet. But on the commandCommPortIdentifier.getPortIdentifiers() , i'll get alway this message in the appletviewer console window:Caught java.lang.NullPointerException: name can't be null while loading driver ...
181 byte By
cktak at 2007-9-26 22:21:53
Hi,I am working with a signed applet to get the email address setup up in the browser for both Nescape and IE. Is it possible to do that?ThanksTak
1006 byte By
TheStijn at 2007-9-26 22:32:04
hi all,we are creating a project that consists of a local applet which is the link between the html and java-code. The javacode reads and writes files on the disk but since it is called from an applet the permission for this is required from the java.policy-file. We solved it by not starting ...
876 byte By
loopoox at 2007-9-26 22:40:03
Hi,Hope this isn't OT but I wasn't able to find any other board it could fit more properly.I got some signed applet including a heap of classes that usually do not change. Downloading them everytime takes a lot of time. I wonder if it's possible to install the huge part of core classes on ...
471 byte By
kesari3 at 2007-9-26 22:42:24
I have created signed applet signed by myself. It works fine with appletviewer as well as web browsers. Now I want to place this signed applet in Java webserver.My queries are 1.Where to place this signed applet(Is it in publichtml Folder ?)2.Where to place my certificate and policy files in ...
340 byte By
zopesac at 2007-9-26 22:45:37
I have following Machine configuration:windows 2000 sp 1, jdk1.3, weblogic 6.1, Internet Explorer 5.01I have used applets in my program and while viewing it from internet browser I am getting exception StackOverFlowError.I don't know the cause of it. It will be great if somebody can help me ...
3079 byte By
zerakxxx at 2007-9-26 22:55:36
I am trying to make an applet that connect to MS Access database on my machine using (sun.jdbc.odbc.JdbcOdbcDriver) but it fails in loading the JDBC driver. I made a java application that makes the same call to the Access database and it works fine so that means that the jdbc-odbc driver is ...
151 byte By
tsangboy at 2007-9-26 22:57:21
Hi all,Do any body know that how can I use a signed applet to browse the client-side's directory and files?Thanks a lot...
858 byte By
rgawanka at 2007-9-26 23:00:22
Hi,im facing the problem that with the new Opera 6, the java plugin is no longer used. Instead Opera uses the default JRE installed on the machine. However, when i load a signed jar in Opera 6 there is NO certificate dialog like "do you want to trust this applet"...it just starts the applet. ...
338 byte By
holm1059 at 2007-9-26 23:01:59
Greetings,Is there any way to simply read the contents of an HTML page off the web into an unsigned Java applet? I'm getting a security exception when I call:url.openStream() I just want to read and parse a static HTML page! What sort of security does this violate? Thanks in advance.-Ray ...
1601 byte By
zerakxxx at 2007-9-26 23:02:10
Hi folks, I have a web cam that takes one image per second and saves it with the same name "image.jpg" in a directory. So image.jpg is updated every second. I made an applet that displays "image.jpg" cam1 = getImage(getDocumentBase(), "image.jpg");and I put a button on the applet that when ...
770 byte By
hhaaii at 2007-9-26 23:03:01
Hi, there,Since I want to distribute a Java-applet-based program on Internet, I have to have it signed first, which will enable the progrom to access the user's local machine or initiate connections to the servers other than where the applet comes from. I have use "keytool" to generate a pair ...
599 byte By
hhaaii at 2007-9-26 23:05:16
I used a self-signed certificate for the applet yesterday and it workedfine at the beginning time, that is, it could write/read file to/fromlocal disk, and it could connect to other MDS servers. But later, aproblem happens. It could write file to local disk(I tested it and createdfiles to C:/ ...
hi,Cud u correct me if i'm wrong.. i know that an applet which is running on a client pc is not allowed to do IO on the computer. What i want to noe is whether the applet which is running on the client pc can write a file to the server where it is running from? if tis is true i keep getting ...
Hi, 1 ) I have generated Keys & certificates using Keytool for signing my applet. 2 ) Signed the applet with those keys using jarsigner. 3 ) Verified the sign using the option of jarsigner and the applet is signed. 4 ) Imported the certificate in my browser IE 6.0 in the folder of Trusted ...
I'm trying to get a signed applet to work with most of the browsers available for Windows and MAC.My problem is that it doen't work with netscape 4.7x on the MAC. The problem occurs after I call enablePrivilege(). A Java Security dialog box is displyed but it is blank. The correct buttons ...
I have figured out how to create a signed applet and get it run on a client machine.I use JNI to access a dll. However, when the applet kicks up on a client machine, it has to access the dll on the central machine. There is no way around this. Is there a way to set the JVM or whatever it is to ...
386 byte By
palexis at 2007-9-26 23:24:15
Hi, I wrote an applet that must create a connection to a database. When the applet tries to connect to the database, a java.security.AccessControlException is returned, but the applet and the database are on the same server!!!! Do I make a mistake and where?Do I have to use oci or thinThank ...