Url validation in java
807605Sep 7 2007 — edited Sep 7 2007Hello 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.