About 815,000 results
Open links in new tab
  1. Simple HTTP server in Java using only Java SE API

    Sep 17, 2010 · Is there a way to create a very basic HTTP server (supporting only GET/POST) in Java using just the Java SE API, without writing code to manually parse HTTP requests and …

  2. Create a simple HTTP server with Java? - Stack Overflow

    Apr 26, 2010 · 5 Java 6 has a default embedded http server. Check the thread here By the way, if you plan to have a rest web service, here is a simple example using jersey.

  3. 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?

  4. java - socket programming multiple client to one server - Stack …

    How do you handle multiple client to connect to one server? I have this LogServer.java

  5. java - How to configure port for a Spring Boot application - Stack …

    How do I configure the TCP/IP port listened on by a Spring Boot application, so it does not use the default port of 8080.

  6. How do I set the default Java installation/runtime (Windows)?

    2 After many attempts, I found the junction approach more convenient. This is very similar on how this problem is solved in linux. Basically it consists of having a link between …

  7. How to make Java application prefer TLS 1.3 over TLS 1.2?

    Oct 25, 2024 · As you talk about modifying the JRE your app is a Java app with bundled Java run-time? BTW: This is a strange requirement. If a server want's to prefer TLS 1.3 it can simply do …

  8. How to create a basic Java Server? - Stack Overflow

    Aug 16, 2013 · 0 I did a Java program that basically implemented a sort of chat between a client and a server. Used a socket to open up a port of the server that would hear incoming …

  9. java - JDBC connection failed, error: TCP/IP connection to host …

    Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a …

  10. Sending HTTP POST Request In Java - Stack Overflow

    Jul 24, 2010 · Sending a POST request is easy in vanilla Java. Starting with a URL, we need t convert it to a URLConnection using url.openConnection();. After that, we need to cast it to a …