The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
May 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

URLConnection

Posted by Mekala on May 09, 2000 at 9:26 AM

> if i want to get the url of the particular page the i use getdocumentbase() this is when i am applet but when i am using Frames what method should i use to get url of page

Am I correct in assuming that your application wants to talk to an URL ? If so you can use some method in either URLConnection/HTTPURLconnection of java.net. If I am wrong in assuming the above manner, could you elaborate the question how did you get the page in to the hands of a frame.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us