The URL generation service enables you to generate Web addresses, including:
URLs for Web Dynpro applications
URLs for public web resources (MIMEs)
Path of the web resource to public resources (MIMEs)
Path of the file system to public resources
URL of the Web resources download
IWDWebModule module = wdComponentAPI.getDeployableObjectPart().getWebModule(); String filename = WDURLGenerator. getResourcePath (module,"image.jpg"); |