When rendering content using the Cacher, paths to components/elements attached to the content are rendered with the path:
/wps/wcm/connect/Site/SiteArea/resources/first char of hash/second char of hash/hash/component filename
However when rendering content inside a JSP using WCM API the paths are:
How can I get paths similar to the Cacher when using the API?
I have tried the setPrefix function of RenderContext and various other alterations to paths when creating a context but with no luck.
Any help would be greatly appreciated.