8 Replies Latest reply: Sep 7, 2007 3:13 AM by 807605 RSS

    Url validation in java

    807605
      Hello everyone,

      I have a page in which I need to check whether the url entered by a user in the given textbox is valid or not.

      eg.
      user enter: http://forum.java.sun.com/post!default.jspa?forumID=31

      I need to check whether http://forum.java.sun.com/post!default.jspa?forumID=31
      is valid or not.

      Which method should I use?
      Can anyone help me out?

      Please advice.