Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mixing script with applets to communicate with sockets application

 
chandra sekhar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic