Results 1 to 2 of 2
  1. #1
    damounh is offline Member
    Join Date
    May 2008
    Posts
    5
    Rep Power
    0

    Default Getting url of page applet is running on

    I need to get the current URL that the java applet is running on, this is mainly because the URL is dynamic and contains ID's that are required to continue to the next page. I know how to go to another page from applet by using showDocument, but how would I get the URL of my current location instead?

  2. #2
    damounh is offline Member
    Join Date
    May 2008
    Posts
    5
    Rep Power
    0

    Default

    i was playing around and i found out how to get the URL, incase anyone needs to know use

    [Applet].getCodeBase()

    it will return URL object

Similar Threads

  1. Applet - enter URL and view the page
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-10-2008, 02:38 PM
  2. Launching Applet from a JSP page
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-31-2008, 12:53 PM
  3. redirect page within a java applet
    By paul in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 05:11 AM
  4. Sounds don't play when running applet
    By leonard in forum Java Applets
    Replies: 1
    Last Post: 08-06-2007, 08:08 PM
  5. Create a Applet in the page HTML
    By Daniel in forum Java Applets
    Replies: 2
    Last Post: 07-04-2007, 07:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •