RE: url validation

2007-06-02 Thread Joe Yuen
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

RE: Struts 1.3.8 and URL Validation

2007-05-09 Thread pushkar . p
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

Re: Struts 1.3.8 and URL Validation

2007-05-09 Thread Tomas Kramar
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

RE: Struts 1.3.8 and URL Validation

2007-05-08 Thread pushkar . p
> -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

Re: Struts 1.3.8 and URL Validation

2007-05-08 Thread Laurie Harper
[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

RE: Struts 1.3.8 and URL Validation

2007-05-08 Thread pushkar . p
> 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.

Re: Struts 1.3.8 and URL Validation

2007-05-08 Thread Niall Pemberton
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

Struts 1.3.8 and URL Validation

2007-05-08 Thread pushkar . p
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

Re: Struts 1.3.5 and URL Validation

2007-01-31 Thread Christopher Schultz
-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

RE: Struts 1.3.5 and URL Validation

2007-01-30 Thread pushkar . p
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

Re: Struts 1.3.5 and URL Validation

2007-01-30 Thread Niall Pemberton
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

Re: Struts 1.3.5 and URL Validation

2007-01-30 Thread Dave Newton
--- [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

Struts 1.3.5 and URL Validation

2007-01-30 Thread pushkar . p
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

Re: url validation

2005-09-21 Thread Martin Gainty
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

url validation

2005-09-21 Thread Stephen Souness
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

URL validation isn't working

2005-01-13 Thread Ben
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

Re: Something after RequestProcessor adding extra / to URL? (was: URL validation)

2004-04-01 Thread Hubert Rabago
> 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