struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Hess" <gh...@wrappedapps.com>
Subject RE: URL Validation with Struts validator
Date Wed, 05 Mar 2003 22:59:39 GMT
I was looking at that but the RFC compliant Regex I found needs to split
the string up and examine each segment separately. I think I would have
to build a custom validator rule to handle the URL. I am hoping someone
might have a single Regex I can use with the mask or examples of a
custom rule.

Greg

-----Original Message-----
From: Jeff Kyser [mailto:ktrails@comcast.net] 
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 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 
> validation-rules.xml.
>
> -----Original Message-----
> From: Greg Hess [mailto:ghess@wrappedapps.com]
> Sent: Wednesday, March 05, 2003 4:54 PM
> To: Struts
> Subject: URL Validation with Struts validator
>
>
> Hi All,
>
> Has anyone implemented URL validation for Struts validator? Can you
> share?
>
> Thanks,
>
> Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message