• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Help...

 
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.
 
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
 
Catch Ernie! Catch the egg! And catch this tiny ad too:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic