THis is the present HTML tag code for the APPLET tag. I know the applet has 2 archive files .zip and .cab one for NETSACPE and one for IE (I think only the required one loads ?).I have wrestled to try to convert it to the OBJECT tag quivelent but no luck. I tried SUN.COM's docs etc. I give ...
4672 byte By
cjay75a at 2007-9-28 6:45:16
In advance, I've made applet by using JBuilder6.If i run this applet on JBulder6, it works fine.However, if i try to run it from the command line(appletviewer), i got following errors.java.lang.ExceptionInInitializerErrorat ...
Hello:Please, there is some way to change the value of validity of keystore or an entrie?,after of created the keystore or entrie.thanksCesar Landa
2069 byte By
StigVa at 2007-9-28 6:53:23
_Summary_: What works under plugin 1.3 doesn't work under plugin 1.4 !!_Background_: Weblogic 5.1 server, Verisign certificate signed applet + server certificate,.... The applet need to communicate with servlets and EJB's on the server._Problem_: everything works ok on a plugin 1.3 client - ...
Hello all,I have a doubt with applets in JVM 1.4.1. I have a html page with has a APPLET tag, which cab file is located local in my computer. This applet connects to a server and establish a TCP/IP connection.I read that the security in Java Plug-in 1.4.1 was changed a lot, and now we need a ...
hi,I developed an applet to make a ftp connexion to upload files from the local disk and the applet is already signed. At first I compiled it with the 1.4 version and I got (from other computers) the error "class not found". Then I used the target 1.1 option and now I get the error "class ...
371 byte By
asjfa at 2007-9-28 7:04:03
hi, I've had a few times when a signed applet seems to throw a security exception (at the moment am trying to figure out a SocketException being thrown).I thought if the applet was signed, and when the browser asks if you want to grant it permissions you press Yes (which I do), then there ...
510 byte By
rhaniaa at 2007-9-28 7:12:51
Hello,I have this Error when I am trying to sign my applet, after execut this command :jarsigner -verify -verbose -certs test.jarjarsigner: java.lang.SecurityException: invalid SHA1 signature file digest for classe/JDBC_SQL.classAnd for your information, that I had add the JDBC_SQL.class to the ...
309 byte By
sen_kuma at 2007-9-28 7:23:24
Hello,I want to restrict the privilege of the Signed Applet. Even though I accept the Certificate for a signed Appled, I like to restrict it's permission. I dont wont the Signed Applet to read/write/delete any files from the client ? How to do restrict it?Thanks in ...
I have a Verisign certificate to sign cab files for MSIE. My old certificate worked fine until it expired on 1/3/03. I have a new certificate from Verisign and got it to sign my old cab files with a little tweaking because it seems the new certificate wants me to timestamp my cab files as well ...
Is it possible to signt an applet without having to buy a cert from versign ( or its competitors ) ?If so what are the limitations ?and if so also.. how do you do it ?Thanks,JMG
265 byte By
McCorbya at 2007-9-28 8:13:47
Hi, all:I'm developing my first applets and I need to create a signed applet. The question is:If I create the signed applet using any of the JDK tools (jarsigner...), does the client need to have the JDK installed?Thanks.Corbacho
Does anyone know how I can go about creating a file in an applet and then writing it to my server? The applet collects lots of useful data and I want to store it on my server (Apache 1.3.26 running on Windows XP) for use at a later date. To complicate things further, the applet stores all the ...
HEllo,I have an applet that I build to be able to read from a checkreader. But since I need some permissions from the client I had to make it a signed applet. But my question is the following, is it possible to have a signed applet that will run both on Java plug-in and on IE JVM?
Hi;I have developed an applet to read and write files.I have taken all steps to sign the applet(the 10 steps written by irene67 at JDC with thanx). I have used jarsigner ,jar ,keytool etc to sign an applet.After completing all this a certificate is built ,I added this self signed certificate in ...
Hi !I need to develop an applet which reads files from local directory and send them to database.i know it has severe Security problems.Actually my system runs in browser.so how can i do that with or with out applets.Many e-mail clients do that actually i.e to upload files from local machine ...
207 byte By
CMLAM88a at 2007-9-28 9:14:22
Hi,When accessing a signed Applet, is there anything tell us it's signed ? Just like when browsing a https:// web page, there's a lock icon at bottom as an indication of safety.CMLAM88
I am trying to utilize the JMF sample code AVReceive2 in an applet. The output I am receiving is as follows:Starting session: 146.142.11.179/1022 - Open RTP session for: addr: 146.142.11.179 port: 1022 ttl: 1Cannot create the RTP Session: access denied (java.net.SocketPermission localhost:1022 ...
hi,i'm using suse linux 7.3 & jdk 1.4.i have a simple test applet that prints the user name. i signed it by:cprokt@linux:~/java/applets/uname> jarsigner -signedjar strapp.jar trapp.jar cproktEnter Passphrase for keystore: dubel07cprokt@linux:~/java/applets/uname> jarsigner -verify ...
I have a problem....My applet is working fine on Sun Java explorer.but when i am trying to open the same applet on explorer which supports only Microsoft VIM ,thenclass not found expection is arising. and the applet is not displying.Any one has idea to fix this problem...Thank ...
Wht's the difference between Sun Java and Microsoft VIM . the applets that r working on Sun supported explorer r not working on explorers supported by Microsoft VIM. Thank you.
Hi, I have written an applet using Java 1.4. The applet contains multiple .class and .gif files. I jared the files to produce a single .jar file with the manifest. Then I signed that jar file with jarsigner that produced a self-signed jar with the certificate. When I run the applet in IE6 on my ...
1207 byte By
novasa at 2007-9-28 10:56:13
I have designed an applet to read a file from the local Machine.This applet thro a servlet reads the contents of the file specified.I use Tomcat 4.1.12 server and this is an client-server application.To read the file in the local machine, I set the permission as follows in the .java.policy ...
Hi,Is there somebody who knows where to download keytool. I tried to download it form http://homepage.ntlworld.com/wayne_grant/starting.htmlbut with no succes.Have a nice day
I have an applet, created a signed jar and when I run it in my browser a dialog box asking me to grant all permissions... which is nice...However, is it possible to limit the permissions of that jar WITHOUT doing anything to the policy files on the client machine? Is it possible for an applet ...
660 byte By
jousleya at 2007-9-28 11:00:49
Hello!I've been reading the documentation on signing applets and I'm having trouble with a few concepts.I'm working on an internal project that involves an applet. This applet needs access to other hosts, therefore I need to sign it. Am I on the right track? But, there will be a fairly large ...
Hi,I'm writting an applet that uses a socket, therefore I need to sign my applet to view it into my browser. So every time I change my code I need to resign the applet.Can I set my browser so I will accept unsigned applet?, this will be a lot easier to test and change the code of the ...
Is it true that if you sign an applet, you must use Jar files instead of Java files? Is a Jar file a collection of Java files? If you include the 1.3.1 functionality inside the Jar file, does that make a bigger download for the user?
Hi.I'm trying to connect to jboss from an applet:Properties jndiProps = new Properties();String myServer = this.getCodeBase().getHost ();jndiProps.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory" );jndiProps.setProperty("java.naming.provider.url", myServer) ...
Hello,is it possible to implement on the same page, a signed CAB(for IE JVM) and a signed JAR(for plug-in)? If so can anybody post some sample code for the page? or give some advice(with code if possible) on going about this. Thanks!
635 byte By
lukeedwa at 2007-9-28 11:56:15
Can anyone help me?I am writing an applet that will be run over the net. The applet needs to be able to access a file on the host where the .class file is (the file is one directory below).As far as I can see this should be OK as I am not accessing any files on the client?But when I try to ...
I know this question has been posted in numerous places, numerous times, but I just haven't found a useful answer to it, so I feel I need to post it again. My apologies if this is overkill.I have been using an x509 certificate to sign a JAR intended for use in a Java plugin (such as Oracle's ...
966 byte By
johnraza at 2007-9-28 12:09:41
I'm using the following <object> to execute a swing applet that uses jdom. I've added the jdom.jar on the java_archive parm, copied into the directory in which the html page is loaded, but I am getting the following :java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilderat ...
539 byte By
seklea at 2007-9-28 12:31:00
Hi,I am programming a user interface using HTML and now I would need an applet to write parameters into a plain text file.All this running on the same machine,with no network connection at all,and with I.E.All my attempts have failed because of security reasons,but I thought it was possible to ...
I want to sign applets for 10 years valid.Can tell me how to do?Is JarSinger can do it?Thanks...
Hi all,I have written a swing application which runs off ofan executable jar file.Now, I like to run this jar file within an applet. Ihave followed the instructions at sun web site to signthe jar file. http://developer.java.sun.com/developer/technicalArticles/Security/Signed/Now, my question is ...
1217 byte By
jousleya at 2007-9-28 13:03:00
Hello,I'm having trouble trying to get my signed applet to work. Here's my situation:I've created a signed .jar file that relies on classes in another .jar file. The second .jar file comes from a 3rd party and is signed by them. I'm using IE. When trying to access the applet, I get a ...
AllI'm trying to modify a few class files for an application that is kicked off with an applet(uses servlets, etc..). Originally there was a certificate used to allow the applet to read files from the client. There's a JAR file on the server that contains the .class files that do the work. I ...
I have used the swingall.jar file with my JApplet for any version of IE. It gives one error i.eCannot access file c:\prog\projectI want to create a directory within c:\prog and also i want to write some files there. Pls help me.
Hi,Does anyone know the steps how to make a signed applet. I want to run the applet from an Internet Explorer browser so I need to make a cab file. And that is just my problem, I don't know how to do this.Thanks in advance,Pieter Pareit
1900 byte By
alxs03a at 2007-9-28 13:50:39
Hello,I磎 trying to get an simple Chat-Applet running now for about 4 days. It has to connect to an IP given via a HTML parameter. So I have to escape out of the Java sandbox... Right?Now I have several problems concerning signing applets:1.) is it right, that i have to sign an applet with ...
I was wondering if some one could point me in the right direction on how to set up permissions for a client/server applet.I dont want to have to put:permission java.net.SocketPermission "192.168.0.1:1024-", "connect, accept, listen, resolve";in the java.policy file.Right now I ...
Hi,I have problems with compiling the following code in JBuilder. I have added the package com.ms.security to my path. Everytime when I tried to compile this code the classes PolicyEngine.class and PermissionID.class are deleted. And I get the following errors:"awtdoc.java": Error #: 302 : ...
Hi,I'm trying a few days to make a signed applet but with no success. My compiler (Jbuilder) craches on the following code:if (Class.forName("com.ms.security.PolicyEngine") != null){com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.NETIO);}} catch (Throwable cnfe) { ...
New to Java Applet Programming. I come from C/C++ background so I find the code is fine.. but permission to run applets is very hazy.Questions ? What permissions need to be set ?Can/How I do this with code ? A fix all sample or url would be loved.Please be kind and give fairly explanatory ...
I am still unable to execute an applet attempting to read various gif files into a toolbar. Using W2K:My default policy file seems to be here: C:\j2sdk1.4.1_02\jre\lib\security. Is this right ?If I create a permission allowing everything..should the applet start to work.If it doesn't work what ...
We have been using plug-in 1.3.1_01a for a while now from IE 6.0, and want to move to JRE 1.3.1_07. We are using the Netscape signtool 1.1 and a Verisign certificate. When I try to run an applet under 1.3.1_07, the new plug-in installs, and I get ExceptionInInitializerError: ...
Hi! This is the project i'm doing about a calculator.However, i'm facing with 2 problems.1. My formula of square root doesn't work,it keeps getting error messages.2. i can't show 2 answers inside a textfield at the same time.eg. x=5,y=2 _| ||x-y=3y-x=-3||_|Please help me with this.Thanks ...
518 byte By
suew2a at 2007-9-28 15:14:40
Hi, I have followed the many instructions on signing a Jar and it allseems to work except that if I specify some permissions in my policyfile as 'signed by' , the permissions fail ! It looks to me as though the Jar file hasn't been signed correctly, as when I use the jarsigner -verify ...
I have users with various levels of java, my applets are sigend as they access local resources. The problems starts with 1.4.0_03 and exists with any version at that level or higher. Once they get above 1.4.0_02 All permissions fail. Has something changed that I need to be aware of, or is it a ...