Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
 
Did you miss me? Did you miss this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic