Link to home
Start Free TrialLog in
Avatar of shaqshup
shaqshup

asked on

Java security within a browser

Hm... I am pretty new to java. I was pretty much surprised after a couple of days of work to find out that simple

Socket s = new Socket ("somewhere.com", PORT);

doesn't work!!! Neither IE nor Netscape. The latter throws a security exception, and the former one just gets stuck! Don't tell me I can't create a socket when running an applet form a browser?!?!?!

Is there a way to solve this?
ASKER CERTIFIED SOLUTION
Avatar of fontaine
fontaine

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ashexpert
ashexpert

alternatively you need to have signed applets

and insted of CGI script sbetter alternative is servlets!
Avatar of shaqshup

ASKER

What are servlets? And how do you make signed applets? CAB files, or something else?