This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
wood burning stoves
 
subject: Mixing script with applets to communicate with sockets application
 
Similar Threads
socket communication to push data to client
TCP socket ip address
Client Issue
how an Applet can make a socket on local port
Storing Socket object in database