rbojja Posted August 25, 2008 Share Posted August 25, 2008 Hi,I have a requirement to show the IP address of the machine where the report is generated.please help me on this . thanks Link to comment Share on other sites More sharing options...
jreporter Posted September 17, 2008 Share Posted September 17, 2008 Hi,you can get the IP from the host with this Code:String localIP = java.net.InetAddress.getLocalHost().getHostAddress(); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now