powered by Jive Software

Help me with Applet in Smack!

I installed Chat Server in Server1, Web Server in Server2 (contains Chat Applet).

My problem is that I cannot connect to Server1 from Chat Applet in Server2.

How can I solve this problem?

The error I got is Socket permission!

Hi chienpv,

You’‘ll have to sign your applet, take a look at url=http://java.sun.com/docs/books/tutorial/jar/sign/signing.htmlSigning JAR Files[/url]. If you’'re not familiar with how to sign jars be sure to read the Summary of Security Tools link at the bottom of the page.

Hope that helps,