I am trying to validate a url. I have the following in my validation.xml file
allowallschemes
true
allow2slashes
true
schemes
http,https,telnet,file
nofragments
true
However when I use a url like http://www.apple.com, it fails. What am I doing
wrong?
T
Ok. Thanks a lot.
-Pushkar
> -Original Message-
> From: Tomas Kramar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 09, 2007 10:51 PM
> To: Struts Users Mailing List
> Subject: Re: Struts 1.3.8 and URL Validation
>
>
> It works on a server side - thi
then redirect back to input form and display the message.
[EMAIL PROTECTED] wrote:
>
>> -Original Message-
>> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
>> Sent: Wednesday, May 09, 2007 11:26 AM
>> To: user@struts.apache.org
>> Subjec
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
> Sent: Wednesday, May 09, 2007 11:26 AM
> To: user@struts.apache.org
> Subject: Re: Struts 1.3.8 and URL Validation
>
>
> [EMAIL PROTECTED] wrote:
> >> There is no
[EMAIL PROTECTED] wrote:
There is no JavaScript implementation of the url validation.
Niall
Does it mean that the default "url" validator in validation.xml doesn't
work?
No, it means that it only works on the server-side; there is no client
side validation for this
> There is no JavaScript implementation of the url validation.
>
> Niall
>
Does it mean that the default "url" validator in validation.xml doesn't
work?
-Pushkar.
On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
I'm using Struts version 1.3.8 and I intend to use URL validation for a
field using the validation.xml file. But, when I declare the field in
validation.xml, it does not validate the field to check whether the URL is
Hi,
I'm using Struts version 1.3.8 and I intend to use URL validation for a
field using the validation.xml file. But, when I declare the field in
validation.xml, it does not validate the field to check whether the URL is a
valid one, meaning that it takes any input that I give in that te
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pushkar,
[EMAIL PROTECTED] wrote:
> Yes, I was expecting client-side validation to work for URLs. And ya, other
> validations like "required", "email", "maxlength"..etc are working fine on
> this form.
There was a bug in URLValidator that made it fai
Tuesday, January 30, 2007 9:11 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.3.5 and URL Validation
On 1/30/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- [EMAIL PROTECTED] wrote:
> > Is there anything else that I need to do for URL
> > validation besides declar
On 1/30/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- [EMAIL PROTECTED] wrote:
> Is there anything else that I need to do for URL
> validation besides declaring in validation.xml?
You need to provide more information. ActionForm
class, how you're mapping from action => vali
--- [EMAIL PROTECTED] wrote:
> Is there anything else that I need to do for URL
> validation besides declaring in validation.xml?
You need to provide more information. ActionForm
class, how you're mapping from action => validation
(bean name or action name), does any *other*
val
Hi everyone,
I'm using Struts version 1.3.5 and I intend to use URL validation for a
field using the validation.xml file. But, when I declare the field in
validation.xml, it does not validate the field to check whether the URL is a
valid one, meaning that it takes any input that I give in
Stephen
URL Validation is covered here in this document
http://struts.apache.org/userGuide/dev_validator.html
HTH,
Martin-
- Original Message -
From: "Stephen Souness" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, September 21, 2005 8:14 PM
Subject: url validation
Can an
Can anyone point me to an explanation of how the url validation should work?
I'm using struts 1.2.7, have url validation enabled for some fields and
they are consistently being rejected.
I just want to be able to have a consistent check on websites that are
being entered into the for
Hi
I am using Struts 1.2.4 and have the following settings in the validation.xml:
nofragments
true
schemes
http,https
In my HTML form, I have this value for the website field:
http://www.ibm.com.au/
It is a valid URL but how come the validator says it is not va
> So I'm pretty sure there is no / after example.com, but what I see in
> the browser is:
>
> http://www.example.com/?user=0123456
>
> Does anyone know where the extra '/' is coming from, or if it matters at
> all?
Now that I take a second look at it, I think it's possible that the browser
is th
17 matches
Mail list logo