Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By DarrylBurke

Thread: Check Web Page Exists Before Redirecting

  1. #1
    KSP is offline Member
    Join Date
    Feb 2013
    Rep Power

    Default Check Web Page Exists Before Redirecting


    I am a Photographer rather than a we programmer, but I am trying to setup a site where my clients can view their shots.

    Essential they type a reference in and it opens a page named that reference .html, I have managed to get the reference enterred and parsed to a susequent page that automatically redirects to the correct reference page.

    What I can't fathom is how to check if the page exists before I redirect, this is to catch when they type in an incorrect reference.

    Can anyone help ?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Check Web Page Exists Before Redirecting

    What does this have to do with Java?

    lenois likes this.
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 9
    Last Post: 08-10-2012, 03:48 PM
  2. Check if file exists before download
    By dman in forum Networking
    Replies: 0
    Last Post: 04-28-2011, 03:57 PM
  3. How do I check if a database exists ...Any help?
    By nmvictor in forum New To Java
    Replies: 5
    Last Post: 05-09-2010, 04:21 PM
  4. How to check whether file is exists or not
    By Java Tip in forum
    Replies: 0
    Last Post: 04-05-2008, 10:13 AM
  5. Check if a web page exists or not
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-02-2008, 07:24 PM

Posting Permissions

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