Re: URL Validation with Struts validator

2003-03-05 Thread Rob Leland
Greg Hess wrote: I was looking at that but the RFC compliant Regex I found needs to split the string up and examine each segment separately. Could you send me the URL where I can get the RFC compliant Regex, or e-mail me directly ? It would have to make the port optional, and with that I can fin

Re: URL Validation with Struts validator

2003-03-05 Thread Rob Leland
I started coding a URL client/server side validation 2 weeks ago, that I hope to contribute to the Validation framework. I put it on hold while getting other work finished before going on vacation. I modeled it on the email validation items, and used the w3.org definition of A URI to write the val

Re: URL Validation with Struts validator

2003-03-05 Thread Jeff Kyser
, 2003 5:26 PM To: Struts Users Mailing List Subject: Re: URL Validation with Struts validator You could probably do a less robust version using the existing mask rule, could you not? -jeff On Wednesday, March 5, 2003, at 04:11 PM, Pani, Gourav wrote: you will have to do a javascript string validation

RE: URL Validation with Struts validator

2003-03-05 Thread Greg Hess
. Greg -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 5:26 PM To: Struts Users Mailing List Subject: Re: URL Validation with Struts validator You could probably do a less robust version using the existing mask rule, could you not? -jeff On

Re: URL Validation with Struts validator

2003-03-05 Thread Jeff Kyser
You could probably do a less robust version using the existing mask rule, could you not? -jeff On Wednesday, March 5, 2003, at 04:11 PM, Pani, Gourav wrote: you will have to do a javascript string validation in the same manner as is done for email address validation and include it in validatio

RE: URL Validation with Struts validator

2003-03-05 Thread Pani, Gourav
you will have to do a javascript string validation in the same manner as is done for email address validation and include it in validation-rules.xml. -Original Message- From: Greg Hess [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 4:54 PM To: Struts Subject: URL Validation wi

RE: URL Validation with Struts validator

2003-03-05 Thread Greg Hess
I want to ensure my users enter a valid URL in a form. eg: http://www.somesite.com Greg -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 4:54 PM To: [EMAIL PROTECTED] Subject: Re: URL Validation with Struts validator What is URL

Re: URL Validation with Struts validator

2003-03-05 Thread David Graham
What is URL validation? David From: "Greg Hess" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Subject: URL Validation with Struts validator Date: Wed, 5 Mar 2003 16:53:36 -0500 Hi All, Has anyone implemented URL validation for St