Hello: I'm using a dynamic chart on my applet, which gets the data from aservlet, by URLConnection. But after a moment, the chart scroll isstopped and I get the next error on java console: java.security.AccessControlException: access denied (java.net.NetPermissiongetProxySelector) ...
716 byte By
s5ha at 2007-10-1 5:16:29
it is said that unsigned applets cannot connect to hosts other than the origin host. - By origin host, is it the host from where the html is downloaded or the host from where the jar file is downloaded?- should the applet be connecting using the exact hostname or its ip address can also be ...
Hai everybody, I am working on signed applet and want to communicates with remote server where data resides my applet will stored on different machine and this applet requires some read permissions on client machine who are using this.(So there will three hosts in it's typical use) Will ...
I'd like to know what happens when a signed applet is loaded in a page with the Java Plug-in. What methods are called, in which order, what happens when the user denies the applet, etc.Any links to resources are also welcome.Thanks!!
So why didn't my trusty old applet not run under Java 1.5?java.lang.NoClassDefFoundError: sun/plugin/security/X509PluginTrustManageris what happened.If you do jar tf on plugin.jar from 1.5 you see 14 classes.If you do the same on 1.4.2 you see 45 classes.What are the missing 29 ...
I'm having a problem with my applet that I hope someone can help me resolve. Here's what I'm doing:I have an applet that displays a JTextPane so the user can enter text. Within the textpane, I insert JTextFields - basically the applet can then be used as a form letting users fill in the text ...
have an applet which works perfectly. But give ClassNotFoundException when i moved the code over to https. Basically it didn't find the class which in placed in jar. My codebase and archieve is correct as, i can download the jar with the url. I am using jdk 1.5.01I signed the applet with a ...
hi,i am newbie to this. topic i have recently got information that in order for apllet to get connect to remote or server in another machine i need to sign my applet..i am using tomcat .. can u tell me or spicify any site which will help me in creating a signed appletthanks in advaceits ...
942 byte By
zivabra at 2007-10-1 6:13:53
Hi All,I have a problem that i need to solve ASAP because my clients are waiting too long for that issue to be fixed.I have a signed applet that is suppose to read from the client machine file system. When the applet is loaded it shows the popup for the user to select whether he trust the ...
485 byte By
harkita at 2007-10-1 6:26:48
Hi every bodyI am currently doing a small-size project using applets.I want to store some files on the local system as well as on the system from which the applet is delivered. i need clarification in 2 things:1) How can i obtain a certificate for enabling the applet in the browser. I heard ...
531 byte By
harkita at 2007-10-1 6:35:15
I am developing an applet which requires signing to run in a browser.I am developing supporting classes. But these class files have to be addedto the jar. Isnt it? But to test the applet i need to load it in the browser each time i modify the class files. So the jar file need to be updated ...
2052 byte By
kpan1a at 2007-10-1 6:36:20
Hello Friends,I'm trying to print a pdf document from an applet. I have managed to get it to the point that it detects the default [as well as all other network] printers. However, it gives me an Access Denied error, that I have no idea of how to tackle. The url that I try to get the pdf doc ...
404 byte By
putte25a at 2007-10-1 6:37:36
HI I have an signed applet and I are able to connect to my database when accesing the applet with appletviewer but not when trying to access it from an html page I get following error: Exception: com.mysql.jdbc.Driver I belive it due to my browsers security setting but I been unable to figure ...
404 byte By
putte25a at 2007-10-1 6:37:37
HI I have an signed applet and I are able to connect to my database when accesing the applet with appletviewer but not when trying to access it from an html page I get following error: Exception: com.mysql.jdbc.Driver I belive it due to my browsers security setting but I been unable to figure ...
843 byte By
Ash_782a at 2007-10-1 6:41:22
Hello to everyone,I have this problem: in my server (a particular version of linux for embedded PLC) i've stored the applet. Then when i connect from browser to the page containing the applet i want that it takes the server IP. But when i try to use this functions:InetAddress localNetIP= ...
Hi, I have to migrate an APPLET written in MS SDK for Java. Here is the brief overview of what the applet does.This is a signed applet. When the applet is loaded on the client's machine, it downoads some pdf documents and send the pdf documents to the client's printer. So, in order to do ...
I'm running into some apparently well-known problems with signed applets accessing a client machine's hard drive.So, I can get things to work if I place the following two lines in my 'local' JDK installation:permission java.io.FilePermission "${user.home}/x.properties", "read,write"; ...
Hi.I've visited a lot of topics about this subject but I can't find a answer that englobes all my problems...So... Here's what I need...I need to build a Applet that will be acessed by HTML on a server... For example http://localhost/HTMLView.html...In that Applet I need to put the content ...
Hello,I am a novice and just started doing programming in java, i have created an java application, it is working fine when run as an application, but gives error when i t ried it to use as an applet, the interface is developed in java swing and this interface is appearing after running applet ...
Hi,This is my first post to any forum so please dont mind any mistakes i make(if). I created a Server/client Chat applet in which sever applet will be used by site owner(like on-line support).And site visitor can chat with him using client chat applet.I am useing ServerSocket to listen to a ...
Here's a basic question that none of the examples seem to address. If my applet is comprised of multiple jars (some dynamically loaded based on system configuration), do they all have to be signed, or does just the jar file containing the applet entry point need to be signed?Conversely, could ...
1294 byte By
vv0408a at 2007-10-1 8:03:20
Hi,I would like my applet to call Inference Engine of some Expert System. I did do the following:<applet code=JDONApplet height=487 width=625><param name=INPUT value=summer3.jdn></applet>and:public void init() {try{ String [] argv = new String[] {};String s = ...
290 byte By
bradlyfa at 2007-10-1 8:26:45
Hi guys I'm fairly new to Java and need a little help...I have an applet that I would like to write a file on the web server not on the the users. Does this applet need to be signed or does it only have to be signed to write files on the users machine? Thanks. -Bradly
544 byte By
JReda at 2007-10-1 9:09:16
Hi! I read in my book how to sign an applet and how to grant several rights, but only on the local system, since you have to have the certificate and the policy file on your computer. But how do signed applets run on other systems then? Do they have to load the cert and the policy and an ...
1908 byte By
calypsoa at 2007-10-1 9:31:56
Hi,I followed the procedure to self sign an applet with keytool in the link below: http://forum.java.sun.com/thread.jspa?threadID=230408&messageID=1584191but I can't make it work :(I begin with signing my jar, and the user receive the signed jar and the certificate (query.cer). He imports ...
719 byte By
BCBCBCa at 2007-10-1 9:32:47
hi all,i looked arround the www and this forum....lot磗 of posts to this topic, but i haven磘 already found any solution.we use a signed applet (jar file) which works fine with the jre 1.4xxxx.now we updated to jre 1.5.0_02 and from that on, the applet doesn磘 work anymore.verisign said i should ...
794 byte By
Eyvind5a at 2007-10-1 9:52:50
I tried to run an simple applet with a policy-file, but I get AccessControlException.What am I doing wrong? Do I have to do something more than making the policy- and the class-file.When I try to run it in the browser, I get this message:java.security.AccessControlException: access denied ...
iam a novice in java. I have written an applet that comunicates with a servlert.. The servlet needs to send a few things to the applet, and while doin so i get the exception given below. And the wierd thing is i am able to get one variable in the apllet from servlet, but the other doesnt .i ...
I don't know if I've got the right forum but I'm at a bit of a loss where else to ask!!!I'm trying to run a JApplet that connects to a server application over the network. Using Apache Tomcat, the server application is executed from "localhost". If the applet is run locally (ie. from ...
1539 byte By
bradlyfa at 2007-10-1 10:17:49
Hey guys. I am trying to read an write files on the web server that the applet is on but I keep getting an AccessControlException error. Here is the method that is getting the error:public void saveFile(){File dayFile = new File( fileName );try{BufferedWriter out = new BufferedWriter(new ...
Hi all,I encountered a problem tryng to integrete the sun.security.pkcs11 into a (signed) applet.In particular it seems that the KeyStore.load(...) method does not work when executed inside an applet loaded on IE6 but it works properly if it's executed from appletviewer under JBuilder. Does ...
hello i heard that applet cannot use sun.misc package to encode and decode strings... can anyone sugest me encoding and decoding algorithms to use in my appletsthanks in advancebye
am doin this application that has a n applet ... the applet sends a few info. to the servlert....servelet encrypts the ino on its side and sends the encrypted info back to the client......the client side applet is able to print the encrypted variable from the servlet......but when it decrypts ...
755 byte By
Juarisa at 2007-10-1 10:47:34
Hi... I'm not sure this is the right place for this post... but I'm not sure there is one either, so... I hope some of you guys can help me with this.I'm verifying the valid signature of some document (I can do that right).In order to do that... at some point I get an X509Certificate object, ...
718 byte By
derka at 2007-10-1 10:57:51
hi there. i current version: JAVA SDK 1.4.2.i need serious help. im NOT a java programmer but i have to do up a java program.. its for my sch project... i do have a little background in C programming but its not the syntax or logic tt is killing me... its the fact that applet cant writeFile!!! ...
Hello,I have signed an applet in a Windows NT, to run it with IExplorer, using cabarc and signcode in any Windows platform. It only give a timestamp warning. I validate if it's correct with a command prompt and it show the certificate well.But whe I try to run it in a client browser ...
233 byte By
Etherswa at 2007-10-1 11:05:27
i need to RECORD sound with an APPLET which then passes the data to the JSP page on the server. so that it can store the voice data on the server. Can anyone help me with this OR can sugest any other suitable method using JAVA
378 byte By
vv0408a at 2007-10-1 11:08:20
Hi,I have Signed Applet, I set everything, Security Certificate, policy, ?br>It works in appletviewer, bat when I start it in IE throws following exception:java.security.AccessControlException: access denied (java.io.FilePermission summer3.jdn read)but I set that permission in my policy.What抯 ...
Hi,Please anybody have idea for the below.I need to decomple the applet class file to .java file and need to change all URL and Socket connection to proxify all connections from applet. and recompile the sample applet to make ready to load in browser.Thi is to load the applet form the web ...
I'm trying to sign my .jar with ActivCard smart card and jarsigner.exe, but I got NullPointerException. I have succeeded to get list of certificates present on smart card. Is there better PKCS#11 provider then sun.security.pkcs11.SunPKCS11?
Hello!I am trying to get the user id of the clients using an applet and the System.getProperty("user.name").My problem is that I have the applet and I have signed it and it works for me. I mean, I receive the warning that if I want to trus the applet...and if I click on yes it works for me.But ...
537 byte By
aleixca at 2007-10-1 11:40:43
Hi,we have recently bought a Thawte certificate for siging applets. Our certificat is signed by Thawte Code Signing CA which is signed by Thawte Premium Server CA.The Thawte Premium Server CA is in the plugin's keystore, but Thawte Code Signing CA is not.When the applet is loaded we get a ...
Hi,Can any one tell me, why Applets are used in Online Banking? And what protocol is used by applets?ANY ONE WHO WORKED IN BANK APPLICATIONS... i really need their help. i need to write small assignment. or at least suggest me a website that gives good information of online banking using java. ...
Hi All,I'm facing a problem with opening new URL from applet.The Java code-import java.applet.*;import java.awt.*;import java.awt.event.*;import java.net.URL;import java.net.MalformedURLException;public class OpenBrowser extends Applet implements ActionListener {public void init() ...
Hi,I am trying to allow my applet access to a socket, but it's not working. Here is what I've done:1) keytool -genkey -keystore mystore -alias mystore2) keytool -export -keystore mystore -alias mystore -file mystore.cer3) doubl click on mystore.cer to install it4) jar cvf test.jar ...
I am using MyEclipse plugin for development my app which consists of JSP page and an Applet. The problem is that applet uses additional JARs and some data (placed on the server) how can i configure the applet that it would load the resources ? Somewere i saw that during loading the applet there ...
964 byte By
Eyvind5a at 2007-10-1 12:40:52
To run an applet made with policy files, you have to add the file in the java.policy located in the javadir\lib\security. There is also a file called java.security, where you can add extra policy files to be used when opening the applet in a browser.Since both of these are located on different ...
754 byte By
tcatesa at 2007-10-1 12:42:31
I'm running a web application from jetty, which involves an applet on the client-side, JSPs/servlets on the server.The applet jars needs to be signed during our build proces (by my company's keystore based on our purchased cert) but the customer will need to provider their own cert to run the ...
2547 byte By
hagen00a at 2007-10-1 12:45:25
Hello, i'm busy building an ftp upload applet by using sun's ftp class sun.net.ftp.FtpClient and by including my applet in a signed jar. Now here's my problem. The code i have to ftp works fine when i put it into the applet's start() or init() procedures, but when i put the code into public ...
Hi AllI am new to the Applets...I have an issue. I tried to use SocketConnecion with Applet. It gave the following exception.java.security.AccessControlException..java.net.SecurityException.plz let me know how can i go further with...how can an Applet be used with SocketsThanks in ...