/**
* This expression derived/taken from the BNF for URI (RFC2396).
*/
private static final String URL_PATTERN =
"/^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/";
the above regexp is what the validator seems to use to validate urls.
For more information dow
. uhm, come to think of it that last part might not be such
> a good idea.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.c
well, I'm pretty sure after checking the rfc's (1738 section3.4 and
3.1, 1034 section 3.5 adn 1123 section 2.1) that you are building
vaild url's under the http scheme. So either the validator is doing
something wrong or you are. Mind a URL is deffined as:
:
so it really matters which scheme you
Does anybody know if I can use Struts Url Validator for intranet url?
For exampe: http://intranet or http://localhost:8080
I'm pretty sure it doesn't try to resolve the machine, or do a DNS
lookup in order to determine if the url is valid. One could conceive of
building somethin
--Original Message-
From: semaj.najraham [mailto:[EMAIL PROTECTED]
Sent: 09 August 2007 03:45
To: user@struts.apache.org
Subject: Re: Struts Url Validator
I can validate http://www.google.com, https://www.google.com, but not
http://google
Is this the limitation of struts url validator?
I wo
I can validate http://www.google.com, https://www.google.com, but not
http://google
Is this the limitation of struts url validator?
I would really appreciate if someone would reply.
Thank you,
semaj
semaj.najraham wrote:
>
> Does anybody know if I can use Struts Url Validator for in
Does anybody know if I can use Struts Url Validator for intranet url?
For exampe: http://intranet or http://localhost:8080
Thanks,
semaj
--
View this message in context:
http://www.nabble.com/Struts-Url-Validator-tf4238692.html#a12060732
Sent from the Struts - User mailing list archive at
7 matches
Mail list logo