On Tue, 15 Jul 2003, Gandle, Panchasheel wrote:

> That shoud do it right
> Open a new URL with a specified URL, if it throws MalformedURLException
> its bad URL

Unfortunately, there's a gotcha to this approach -- the JVM you are
running on has to understand the scheme part of the URL you are testing
for.  For example, you'll get a MalformedURLException on any "https:" URL
(even if it's actually correct) if your JVM doesn't have the JSSE classes
(or equivalent) that understands SSH.

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to