Pradyut's profileObject Oriented Programm...PhotosBlogListsMore Tools Help

Blog


    October 22

    Myjavaserver sign up code cracked.....

    The sign up code at myjavaserver cracked.......

    -------------------------------------------------------------------------------------------------------------------------
    if((config[2].compareTo(config[0])) > (config[0].compareTo(config[2]))) {
    if (requestUri.contains(config[2]))
    return config[3];
    else if (requestUri.contains(config[0]))
    return config[1];
    else return "xxxxx";
    } else {
    if (requestUri.contains(config[0]))
    return config[1];
    else if (requestUri.contains(config[2]))
    return config[3];
    else return "xxxxx";
    }
    --------------------------------------------------------------------------------------------------------------------------

    Make sure to check the line before example input:

    If no handler can be found, "XXXXX" must be returned.

    Make the appropriate changes in the code.....

    and don't forget to remove the semicolon.......


    --
    Pradyut
    http://pradyut.tk
    http://oop-edge.blogspot.com/
    http://pradyutb.blogspot.com/
    http://praddy-photos.blogspot.com/
    http://oop-edge.spaces.live.com/
    http://www.flickr.com/photos/praddy
    http://groups.google.com/group/oop_programming
    India