Hi Yoav,

I had this in the new
URL(http://4526353&[EMAIL PROTECTED]@##$#$$%(()))*(*&&^%^%^) and
it passed.  I was expecting to get some error.  Should I?

Ike

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 3:43 PM
To: Tomcat Users List
Subject: RE: URL validation



Hi,
Can you give examples and/or cases that show java.net.URL doesn't meet
the RFC specifications?

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Ikonne, Ike [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 08, 2004 1:52 PM
>To: 'Tomcat Users List'
>Subject: RE: URL validation
>
>Hi Steffen,
>
>Thanks, new URL(url) doesn't work consistently.  I have tried it,
>one can throw in an url that doesn't meet RFC 1738 but URL(url) will
>not catch it.
>
>Thanks,
>
>Ike
>
>
>-----Original Message-----
>From: SH Solutions [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 08, 2004 12:30 PM
>To: 'Tomcat Users List'
>Subject: RE: URL validation
>
>
>Hi
>
>> Here is my problem, I am looking for a way to syntactically valid a
given
>URL without having to actually creating an URL object.
>
>try {
>  new URL( myUrl );
>  return true;
>} catch ( Throwable t ) {
>  return false;
>}
>
>Why not creating it?
>Javas young generation garbage collection should dispose this
immediatly.
>So
>problem here.
>
>Regards,
>  Steffen
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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

Reply via email to