aspose file tools*
The moose likes Applets and the fly likes Calling applet in a browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Calling applet in a browser" Watch "Calling applet in a browser" New topic
Author

Calling applet in a browser

praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Hello all,

I have created an applet in my machine. I want to call the applet from another machine in a browser. What are the methods to do this.

Thanks & regards,
praveen

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
The URL must contain the machine name (or IP address) of your machine (instead of "localhost" or whatever you use to access the server on your own machine.)


Ping & DNS - my free Android networking tools app
praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Ulf Dittmer wrote:The URL must contain the machine name (or IP address) of your machine (instead of "localhost" or whatever you use to access the server on your own machine.)



Ie to access the applet created on my machine from another machines browser I have to use a web server like tomcat.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
yes
praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Is there any other method?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
No. Why do you not want to run a web server? It's how the web works, you know :-)
praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Ulf Dittmer wrote:No. Why do you not want to run a web server? It's how the web works, you know :-)


Thanks for the help.

 
jQuery in Action, 2nd edition
 
subject: Calling applet in a browser