This should work on all engines: var myHost = createObject( 'java', 'java.net.InetAddress' ).getLocalHost().getHostName();
Sean On Sat, Jul 31, 2010 at 10:25 AM, Guillermo <[email protected]> wrote: > Okay I cant seem to find out how to do this. I am looking for the > equivelant to the class jrunx.kenrel.JRun. It provides the method > getServerName() which I use to define if we are in dev or prod anyone > know what I would use in OpenBD? basically it just returns the context > path but there are other useful methods in that class. -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en
