About 486,000 results
Open links in new tab
  1. java - Getting server address and application name - Stack Overflow

    Getting server address and application name Asked 14 years, 8 months ago Modified 7 years, 6 months ago Viewed 49k times

  2. Simple HTTP server in Java using only Java SE API

    Sep 17, 2010 · Since Java SE 6, there's a builtin HTTP server in Sun Oracle JRE. The Java 9 module name is jdk.httpserver. The com.sun.net.httpserver package summary outlines the involved classes …

  3. Get Application Server name or ip and port in Java

    Dec 7, 2015 · We would like to identify and display the server and port that a Java application is running on that is behind a proxy web server. This means that getServerName () and getServerPort () return …

  4. Getting the IP address of the current machine using Java

    If it gets an IP address from that lookup then it searches through the interfaces available to see which interface has that IP address and it returns that interface. This means getLocalHost will tend to work …

  5. timezone - How to get Java server's time zone? - Stack Overflow

    Apr 6, 2013 · A java application hosted on a web server runs in the client virtual machine. So you will get the client timezone.

  6. java - How to get host name with port from a http or https request ...

    You can use HttpServletRequest.getScheme() to retrieve either "http" or "https". Using it along with HttpServletRequest.getServerName() should be enough to rebuild the portion of the URL you need. …

  7. Get Java version from PowerShell of remote server

    Java is not installed, sometimes it is just dropped in the server as a JDK folder and the application is pointed to that location, so unfortunately I cannot use the registry to find the Java version.

  8. html - How to send HTTP request in Java? - Stack Overflow

    Aug 31, 2009 · In Java, How to compose an HTTP request message and send it to an HTTP web server?

  9. Find JAVA_HOME and set it on RHEL - Stack Overflow

    Jun 2, 2017 · The output would be the same no matter which java installation is selected via alternatives. Running readlink -f $(which java) (as already suggested in other comment) or using asking …

  10. x509certificate - How to get server certificate chain then verify it's ...

    How to get server certificate chain then verify it's valid and trusted in Java Asked 14 years, 3 months ago Modified 7 years ago Viewed 49k times