I tried reading RMI tutorials and some threads in some java boards but i could find nothing which assembles my caseI am writing a simple servlet which calls another servlet to post a XML file. The first servlet is suposed to parse the second one before posting it (cause the XML files can get up ...
Hi!I'm not sure if this is the right forum but...I need to encode a string in Base64 but I don't know how.I found people using the class sun.misc.BASE64Encoder but I cant find it.I suppose it is part of a package that is downloadable (i hope at least) but I don't know where to search.I ...
I have a certificate from verisign and when i try to import it as my certificate i get the above error. any suggestions would be gratefully appreciatedcheerspaul
361 byte By
jglj at 2007-9-26 10:32:42
Hi,How to use Digital Signing with Internet Explorer and Netscape?In details :1. to digitally sign data entered in an HTML form andalso2.The user should to be able to choose the signingcertificate with which he prefers to sign.Thanks In advanceGeraldo Linsjose.lins@eversystems.com.br ...
I have an applet signed for Netscape 6 that is trying to do file i/o. I'm finding that sometimes the applet has permissions and sometimes it does not. It has permission when the init and start methods are called. It also has permission when an AWT event fires from user input. However, when ...
806 byte By
pradeepv at 2007-9-26 10:33:11
Hi, I am facing some problem with Netscape and signtool.I am trying to load Applet from two Signed Jar file,signed by RSA.1. one jar file conains provider classes etc, and other jar file loads these classes ad set the Provider. 2. I signed these jar files using Netscape Signtool and RSAcert. 3. ...
2792 byte By
padisha at 2007-9-26 10:36:18
Hi,I have been trying to sign an applet such that I can use the JCA from withinan applet.My goal is to encrypt a file and then ftp it to a server. I am currentlyable to "read" the file from the client's system and then ftp it. I havecreated a test certificate and signed the applet grandting it ...
64619 byte By
ringpond at 2007-9-26 10:37:02
Hello, AllI have an signed applet that uses a jar that contains a crypto provider.when i running that applet, i got a java.lang.StackOverflowError.how can i solve this problem?ps. i use java plugin 1.3.1_01 in ie 6java.lang.StackOverflowErrorat ...
264 byte By
baronian at 2007-9-26 10:37:47
I have this problem: After i hve compiled my .java and i got the .class, i can't run it.I get this message:Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d/GroupWhat's the meaning of this?Thanks
378 byte By
jmor1 at 2007-9-26 10:38:41
Hi,I know a fair bit of Java but I'm new to applets. I have a stand alone Java program which shows images and which also uses Socket communication. I want to convert this to an applet.I'm trying to understand the security constraints.If I use a signed applet, will I be able to use the socket ...
239 byte By
foulon at 2007-9-26 10:39:11
Hello,I'd like to find a progressbar inclueding the percentin it. The percent must increase with the progressbar. The only I've found is with the percentage next to it.Some sources?Thx.ALF
77 byte By
teddy22 at 2007-9-26 10:39:34
How can I insert String to image(GIF,JPG)?Thanks!
hello,i have a application in java applet which gets the data via servlet. but its hangs often and it gives some netscape memory error. can any one give the suggestion. please and i can be contacted on ravindrav11@yahoo.com ravindra
1872 byte By
jenzinas at 2007-9-26 10:39:41
I'm trying to do a standard load with the JAI using:JAI.create("fileLoad", imageFile.getAbsolutePath()).getAsBufferedImage(); it works just fine when run in an application but when i try and use it in a Servlet, i get the following exception:java.lang.ExceptionInInitializerError: ...
372 byte By
TheZ at 2007-9-26 10:39:44
I know this question has been asked 100 + n times here, but none of the answers did help me.I need to draw a horizontal 2D barchart into a JPanel in an application. Since I don't have a clue how to do this, I'm asking if someone could help me with a piece of code or information how to do it. ...
4885 byte By
kowalik at 2007-9-26 10:40:24
Hi,Is there anybody to help me to find out what is wrong with my class (listing below)? I am sucessfuly using this class to encrypt and decrypt txt, html files but for unknown reasons I am unable to use it for e.g. pdf files. The encrypion somehow works but any atempt to decrypt is a failure. ...
479 byte By
petertg at 2007-9-26 10:40:41
Hi all.The problem is that when I sign my applet and try to connect trough SSL the IAIK throughs ClassCastException when trying to load the client certificate. 1. I added client certificate ( DER format ) to the applet jar.2. I signed an applet with another certificate so it whould have all ...
881 byte By
redpath at 2007-9-26 10:40:57
I have a signed jar now. The previous jar works perfectly fine in all versions of browsers (netscape and IE), no special swing code. The Jar is signed now; since I want to save state as per requested by the user. If I code a normal HTML file with Applet tag IE (the latest) does nothing to show ...
Okay. Simple question - hopefully this will provoke a quick response:MS Internet Explorer 5.5+ (MS Virt. Machine > 3309) supports JDK 1.1.4, including JNI.Does the MS VM support JCE?And if not, does it logically follow that you can't use JCE classes on IIS?Thanks, ...
Hello everybody,I wrote a program which's purpose is to establish and hold a communication between different computers. The user will login and receive data with the help of some hidden and a displayed applet.My problem with this is, I have to sign those applets, because they have to do some ...
hello again,two short questions:1. do i really need two different certificates for my applet to make it trusted in IE and NS?2. can an applet be multiple-signed?regards
i got a cerificate from verisign and when i used the java command "keytool -import -alias mykey -file cert.cer"the reply included what was to be expected in the cert but followed with the line "... is not trusted. Install reply anyway? [no]: no"any suggestions? cheerspaul ...
993 byte By
flae at 2007-9-26 10:45:37
The security setting property file named "java.security" is in directory "JAVA_HOME/jre/1.3/lib/security". For one of my applet, I need to set login configuration entry such as: login.configuration.provider = com.sun.security.auth.login.ConfigFile login.config.url.1 = ...
When you get your certificate from one of these companies, when using the keytool -import option, must you chose the 'trustcacerts' option? When i have been importing the cerificate i get the error its not trusted......
Hi Folks...I m having some problem in applet.. can any1 of u guys help me? My problem is as follows..I m having 2 JApplets (Swing applet) one of the applet is using JAI (Java Advance Imaging APIs). I m trying 2 load both the applets in IE as well as in Netscape across SSL (ie thru https ...
305 byte By
hf990190 at 2007-9-26 10:50:12
Can any one tell me how to make GeneralPath serializable?I'm trying to create an object (a freehand drawn curve) which later I need to write into ObjectOutputStream. But I'm getting java.io.NotSerializableException.Please help! Thanks in advanceregards,Clement ...
I read the tutorial made by Sun and looked at the API but I still have no idea how to look elsewhere or getCloser to my objects.Can you help me?(I'm using SimpleUniverse)
280 byte By
meng_xx at 2007-9-26 10:52:59
Because of some copyright questions, IBM can not open the MPEG4 Codec for JMF to us. But I notice that JMF can play AVI films created by DivX(of course pre-install it), compare with the pure java MPEG4 Codec, what is the difference in DivX? Can i take DivX instead?
358 byte By
redpath at 2007-9-26 10:53:07
The verisign signed JAR panel comes upon Opera 5.12 when loading the verisign signed JAR through the APPLET tag and under netscape 6.1 via the HTMLconverter stuff. Thats good butUnder HotJava nothing happens? It thinks its not signed.What do I need to do? We want to recommend ...
1368 byte By
alexmj at 2007-9-26 10:58:27
Hello!I had following problem.There is a code, which receives images from one table in RDBMS (images are stored in LONG RAW fields),reduces them and writes in other table. Here the code:OracleStatement stmt = (OracleStatement)con.createStatement();OracleResultSet rs = ...
848 byte By
kevinamc at 2007-9-26 10:59:47
Hi,I was wondering if anyone has been able to get a unrestricted Java Applet to work over Java Plugin in Netscape 6. I have a signed applet which I can grant all permissions to in IE via the initial Java Plugin (1.3.1) dialogue box. However, the same operation in Netscape 6 does not grant the ...
Hi,i am writing a lib that uses JSSE. I need to set the keystore and trust store for the SSL to work. i do not want to use the system properties to set the above as it is a lib and user may have different values set. Is there any other way of specifying the location of Keystore and trustore, ...
Are there any APIs available to encrypt and decrypt any data? Any sample code?
Using "jad.exe" (from http://www.meurrens.org/ip-Links/java/codeEngineering/jad15.html) I am able to genetae the source code from any "class" file. Is there no way for the author to protect his code?
Using "jad.exe" (from http://www.meurrens.org/ip-Links/java/codeEngineering/jad15.html) I am able to genetae the source code from any "class" file. Is there no way for the author to protect his code?
632 byte By
dhughes1 at 2007-9-26 11:01:21
Hello, When I switch to using "setNeedClientAuth" to true on the end of the server the socket fails to connect. The error message that I get is "fatal handshake failure, no cipher suites in common". When I do not require client authentication, the program runs fine.I created my own key using ...
668 byte By
enjoynkp at 2007-9-26 11:01:38
Hi champ,I created an server and client chat applet. when i execute server and client application it works fine. but when i use applet for client it throws IONetPermission denied error. I know i have to do some thing in policies. But i cannot do in client machine. So is there any other way to ...
77 byte By
ping_16 at 2007-9-26 11:03:08
Can i make screen saver with java3d?If yes,how to do it?thanks.
532 byte By
jsugrue at 2007-9-26 11:03:45
hi.What I need to do is to draw a line between 2 components on screen. However, these aren't just straight lines, but ones with corners, so that no component is overwritten.So if you were to connect 2 components, (2 buttons for example) and you had another button in between, the final line ...
I have setup a java applet compiled with Sun Forte which implements a connection with a server application with sockets. The applet works perfectly on the same machine when it is loaded from netscape communicator but I receive an com.ms.security.SecurityExceptionExsecurity error when I am ...
492 byte By
ztolley at 2007-9-26 11:04:11
I am writing a photo album app, so like many others, and part of this resizes images. The problem is athough resizing an image to 800x600 ish using affine transform look ok, resizing to 200x140 ish looks really poor.I know this could look better cos other applications I have see using the same ...
590 byte By
FranckC at 2007-9-26 11:04:24
As far as I understand, for a signed JApplet to get permissions of a 1.3.1 plugin, you have to provide the client with both:a) a certificate b) a policy fileWhile providing a certificate for download and validation is fairly easy, i don't see how to pass over the corresponding policy file to ...
505 byte By
veazy at 2007-9-26 11:05:23
I used messageDigest class to get hash code as an array of bytes.The problem can be summerized in those lines:byte[] hash = MessageDigest.digest();String s = new String (hash );MessageDigest.isEqale(s.getBytes(),hash)the result is false .i think It has to do with special charactersbut I could ...
Hi,I am running a complex 3D User-Interface which is working fine, using almost only Swing Components.I have implementet the use of the Stereo Mode of the openGL Java3D API and it works fine with my Quadro2 Chip. But there is one real Problem. the Swing Componets are only drawn to one Buffer, ...
Hi,Is there a way to encrypt password using Java and then store it in the database?Thanks,Himanshu
526 byte By
soorej1 at 2007-9-26 11:06:55
Hi All,I need to allow client to digitally sign data typicaly from a client browser( for non - repudiation purpose). I am trying to achieve this by loading a applet to client broswer, But my problem is where to find keystore so that i can use clients private key to sign the data before sending ...
742 byte By
drykat at 2007-9-26 11:07:23
Hi,I've got the following sample code for getting the Factorial of a number. It works fine for small numbers but I need it to handle larger ones (eg 365! ). Any suggestions for how to get it to work :public class Fac{ public static void main(String[] args){ int n = (whatever number I wish to ...
519 byte By
holtert at 2007-9-26 11:08:31
I'm developing Java 3D apps on Solaris/Sparc that need to run on Solaris/x86 as well. Java 3D requires OpenGL which I have on the Sparc but which is not available (Sun has no plans on supporting it) on the x86. Has anyone found a workaround for this problem? I guess mesa might be a reasonable ...
Hi!I'm new to the 2D graphics. Basically i'm writing network management software for wireless product.I have a gif or jpeg file of a wireless product, depends on the real time data i have to make the image file to blink in various colors. For more clear, i have to display the image with 3 ...
Is it possible to compile under Forte with import com.ms.security.*; or do I have to compile from Microsoft SDK?