Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help...

 
Matt R. Hansen
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently designing the typical old chat applet. Right now I am only attempting basic functionality.
The applet works fine when I access it http://localhost/testChat.jsp. When I attempt to access it from a remote machine the applet GUI will load fine, but apparently no socket is opened because the applet has almost no functionality. And no errors are displayed that I can see.
Also, there are no firewalls to block a socket from opening a port. I am using Orion 1.5.2 for an appserver. Any help would be greatly appreciated so I can move on with my life.
 
Matt R. Hansen
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client machine does display a securityException. But why? I do not want to have to sign the applet.
 
Tanveer Rameez
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I am in a hurry, so you can see some notes on applet-servlet/jsp chat server at my homesite: http://tanveer.freeservers.com/java.htm
Usually it is better to use applet-servlet/jsp communication using java.net.URLConnection rather than socket becoz sockets don't work so easily over internet. Sockets will work fine inside the same network.
regards
Tanveer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic