This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IP Address would not open in Browser!!!!

 
sam patel
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet-servlet communication.
I have setup everything...
When i open my applet in browser using
http://localhost/scanapp
It works fine...
i get the applet on the screen and then i am opening another frame from that applet's actionperform...
but when i use this in the browser...

http://myIPaddress/scanapp
It will show the applet but it cannot perform any actionperform.
When i click on the button it does nothing...
As soon as i change it to localhost it works...
Can someone tell me what am i doing wrong...
Thanks in advance...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you get any message in the Java Console or the log? This might be some sort of security thing where localhost and myIPaddress are not considered to be the same server.
Bill
 
sam patel
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by William Brogden:
Do you get any message in the Java Console or the log? This might be some sort of security thing where localhost and myIPaddress are not considered to be the same server.
Bill

Thank you for your reply...
It does not log anything.
http://localhost/scanapp works...
but this would not work...
http://10.120.120.42/scanapp
How can i solve this problem...
Again Thanks..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic