I am just trying to use a DynaActionForm.
Now I would like to check out the ValidateURL method -
however it doesn't accept an url like:
http://www.myUrl.com/

Is there any page available giving examples of valid
urls, or so?

I had a look in the API 
http://struts.apache.org/struts-action/struts-core/apidocs/index.html


validateUrl

public static boolean validateUrl....
...
Variable allow2slashes can be set to true  or false to control whether
two slashes are allowed - default is false (i.e. two slashes are NOT
allowed).

Aren't to slahes always necessary for http:// ?

Anyway, I tried:
http://www.myUrl.com/
http://www.myUrl.com
http://myUrl.com/
http://myUrl.com
www.myUrl.com

But it keeps throwing my error message...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to