java string url path
Code:
String webpageURL = "http://192.168.0.1/website/";
Is there a way to leave the ip address out of that string and
have the jsp pull the current url.
For example:
If someone outside my firewall enters the real world ip address (200.200.200.200).
it will use the real world ip instead of the internal.
so if they are on the outside it will use http://200.200.200.200/website/
and if you are on the inside it will use http://192.168.0.1/website/
Clear as mud?
Thanks!
Larry
View full post on Webmaster-Talk.com
Java, path, string