Results 1 to 2 of 2
  1. #1
    moron3 is offline Member
    Join Date
    Feb 2010
    Rep Power

    Default redirect iframe if page cannot be displayed

    Is it possible to use Java to redirect an iframe if the page cannot be displayed or the server is down?

    One way I thought of doing it would be to direct the iframe to a page, wait a few seconds, then check the locationName to see if it is blank. If it is, then redirect the iframe to the alternate page. But that's probably cheesy and I don't know how to write the code for it anyway.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. Redirect To Same Page
    By systech44 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 12-08-2009, 12:27 PM
  2. Tomcat Home Page not displayed
    By maverick0681 in forum New To Java
    Replies: 3
    Last Post: 10-01-2009, 10:07 AM
  3. redirect to html page
    By simo_mon in forum Java Servlet
    Replies: 3
    Last Post: 02-12-2009, 06:18 PM
  4. Redirect page in web service
    By bluesheeva in forum Advanced Java
    Replies: 3
    Last Post: 02-04-2009, 12:56 AM
  5. redirect page within a java applet
    By paul in forum Java Applets
    Replies: 1
    Last Post: 08-07-2007, 06:11 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