My Oracle Support Banner

How Hostname and Port Are Picked Up in URL of WEB.SHOW_DOCUMENT Call When Using Relative Path (Doc ID 2431570.1)

Last updated on MAY 09, 2023

Applies to:

Oracle Forms - Version 11.1.2.2.0 and later
Oracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

When using relative path, where does it pick up hostname and port to generate full URL in WEB.SHOW_DOCUMENT call?
 

Sample:

In this example, the URL being generated is:

   http://hostname:<PORT>/test/forms/TEST_WEB/forms/exec/mydoc.pdf

Where does it pick up this hostname and port <PORT>?  How can you change it without hard coding the hostname and port number in the WEB.SHOW_DOCUMENT call?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.