wood burning stoves 2.0*
The moose likes Servlets and the fly likes Mixing script with applets to communicate with sockets application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Mixing script with applets to communicate with sockets application" Watch "Mixing script with applets to communicate with sockets application" New topic
Author

Mixing script with applets to communicate with sockets application

chandra sekhar
Greenhorn

Joined: Apr 21, 2000
Posts: 13
Hello,
I hav Written a simple chat application using applet and socket programming.
My application consists of one Applet(Client program) which establishes connection to the server program (standalone application runs on port suppose on 1080).I tested on
my machine It works fine.
So I copied the client applet class file to other machine and tried to establish connection between applet running on other machine and server program running on my machine,but I could not.I got so many exceptions(Security,socket etc) when I excuted applet on other machine
why???
I think my client application needs to be trusted.If so how.
Need urgent help from u.
I want to close connection when the back button on the browser is pressed.is it necessary to use javascript in client program if so help me

chandu

chandu
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Mixing script with applets to communicate with sockets application