" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
In Servoy webclient application.getServerURL() always returns http://localhost:8080 (if port is 8080)
For deep linking, we need the server address to point to the solution in the particular server.
So we need to write the following code to get the actual server IP in webclient.
var addr = java.net.InetAddress.getLocalHost();
// Get IP Address
var ipAddr = addr.getHostAddress();
This function returns the actual IP address of the server.
We can use this IP address and create our own deep link url.
Mail (will not be published) (required)
Enter Captcha Code *
six + 3 =
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...