wood burning stoves 2.0*
The moose likes Applets and the fly likes 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 "Applet in a browser" Watch "Applet in a browser" New topic
Author

Applet in a browser

Nirmal Mekala Kumar
Ranch Hand

Joined: Aug 27, 2005
Posts: 63
I am launching an applet from a web page in the browser. Is there a way to get the URI/URL of the web page from which I launched the browser?
Is it a good idea to pass the URL as a parmeter to applet from the Web page?


Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41600
    
  55
That's what the getDocumentBase method does.


Ping & DNS - my free Android networking tools app
Nirmal Mekala Kumar
Ranch Hand

Joined: Aug 27, 2005
Posts: 63
Oops!! Thank you very much and
sorry for my ignorance.
 
Don't get me started about those stupid light bulbs.
 
subject: Applet in a browser