This discussion is archived
8 Replies Latest reply: Sep 7, 2007 1:13 AM by 807605 RSS

Url validation in java

807605 Newbie
Currently Being Moderated
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.