AnsweredAssumed Answered

Alfresco server url from within Webscript

Question asked by calle on Oct 22, 2008
I need to compose the complete URL to content inside Alfresco. This means something like

From the DownloadContentServlet I can easily generate the latter part (d/a/versionStore/lightWeightVersionStore/d10a395a-9f6e-11dd-8f5d-4f6195cece45/mydoc.doc), but how can I dynamically lookup the hostname and path to alfresco? I would really prefer *not* defining it as a constant…