EMBEDDING JAVA APPLET using OBJECT tag

522 byte By hot_denima at 2007-9-28 6:25:46
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 ...

Problems in running deployed applet from the command line

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 ...

keytool keystore validity

175 byte By cesarlandaa at 2007-9-28 6:49:25
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

What works with plugin 1.3 fails with plugin 1.4

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 - ...

Applet does not work with JVM 1.4.1

504 byte By crisgmartinsa at 2007-9-28 6:54:12
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 ...

Error with signed applet "class can't be instantiated"

689 byte By tonihernandeza at 2007-9-28 7:02:01
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 ...

should a signed applet ever throw a security exception?

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 ...

Error when trying to sign the Applet, please Help

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 ...

Restricitng Signed Applet Privilege

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 ...

[FullyTrusted] cab file generates security exception in MSIE

2046 byte By adamwhitneya at 2007-9-28 7:55:25
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 ...

Signing an Applet with buying a cert ?

212 byte By jmguillemettea at 2007-9-28 8:09:34
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

Newbie to applets

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

sending a linked list from an applet to a servlet

543 byte By danparker2a at 2007-9-28 8:18:40
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 ...

IE JVM vs PLug in

295 byte By androgera at 2007-9-28 8:29:22
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?

Signed applet problem

1144 byte By miriftikhara at 2007-9-28 8:50:38
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 ...

Access Local Files

503 byte By sk_moulalia at 2007-9-28 8:55:11
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 ...

Is signed Applet has lock icon ?

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

Security and JMF in applets

1927 byte By raiders_mja at 2007-9-28 9:18:01
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 ...

Problems with $HOME/.java.policy

1056 byte By doktor_prokta at 2007-9-28 9:31:08
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 ...

MicroSoft Java Virtual Machine

337 byte By srini4u007a at 2007-9-28 10:02:53
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 ...

Java Applets

206 byte By srini4u007a at 2007-9-28 10:02:58
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.

Signed jar: java.util.zip.ZipException: invalid entry size

1576 byte By mraskinea at 2007-9-28 10:38:32
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 ...

How can I change the policy file?

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 ...

Where to download keytool.

202 byte By Artfull_dodgera at 2007-9-28 10:59:48
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

Restricting Permissions in signed applet jar

369 byte By jelly_heada at 2007-9-28 11:00:09
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 ...

confused about signed applets

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 ...

Browser settings to accept unsigned applets

384 byte By Artfull_dodgera at 2007-9-28 11:21:54
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 ...

signed applets

240 byte By christina3a at 2007-9-28 11:35:37
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?

jboss & signed applet

2089 byte By eugenbushueva at 2007-9-28 11:46:53
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) ...

signed CAB and JAR

247 byte By androgera at 2007-9-28 11:48:59
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!

Confused over permissions!

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 ...

Migration: javakey to keytool/jarsigner with an x509 certificate

3551 byte By sbertrana at 2007-9-28 12:09:16
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 ...

multiple jar's on java_archive not being found

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 ...

write a file on the local system with an applet

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 ...

Could I sign applets for 10 years?

124 byte By tong1219a at 2007-9-28 12:37:51
I want to sign applets for 10 years valid.Can tell me how to do?Is JarSinger can do it?Thanks...

Applet referencing an executable jar file

520 byte By PayamFarda at 2007-9-28 12:44:23
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 ...

multiple signed applets

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 ...

Signed applet stopped working

1832 byte By code_monkey1a at 2007-9-28 13:39:01
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 ...

Cannot access file from JApplet

270 byte By venkatesanmka at 2007-9-28 13:43:39
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.

Steps to make a cab file for signed applets

265 byte By Artfull_dodgera at 2007-9-28 13:49:40
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

going crazy with applet signing

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 ...

Permissions in an applet.

998 byte By Jman3oooa at 2007-9-28 13:58:23
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 ...

Jbuilder and com.ms.security.*

1155 byte By Artfull_dodgera at 2007-9-28 14:02:56
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 : ...

Where to put com.ms.security package

623 byte By Artfull_dodgera at 2007-9-28 14:06:15
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) { ...

Be Merciful..I waste my life in front of PC's.

435 byte By anthonyjudda at 2007-9-28 14:09:31
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 ...

A little wiser but not their yet !!

354 byte By anthonyjudda at 2007-9-28 14:11:19
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 ...

Plug-in 1.3.1_01a works, 1.3.1_07 doesn't

695 byte By mark_moshera at 2007-9-28 15:08:15
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: ...

my project

5794 byte By 0203276Aa at 2007-9-28 15:13:55
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 ...

jar verification

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 ...

1.4.0_02 signing works, 1.4.0_03 or > all permissions denied

337 byte By mswensona at 2007-9-28 15:15:36
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 ...