I you have programing rights, you can use
$context.URLFactory.getServerURL($context.context) from velocity.

On Fri, Jun 19, 2009 at 02:04, <[email protected]> wrote:
> Is there a convenient way to obtain the base url?
>
>
>
> e.g. http://localhost:8080/xwiki   or http://mysite.com
>
>
>
> --
>
> Glenn
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to