How to use Servlet for HttpServer
问题 can i use servlet for a self implemented HttpServer(com.sun.net.httpserver.HttpServer) in eclipse(The HttpServer should start with the port no. and servlet should handle the client request.) ? if yes sample code would be highly useful. 来源: https://stackoverflow.com/questions/25263696/how-to-use-servlet-for-httpserver