@@ -0,0 +1,351 @@
+package myapp;%0A%0Aimport java.io.IOException;%0Aimport javax.servlet.http.*;%0A%0Apublic class DemoServlet extends HttpServlet %7B%0A    @Override%0A    %0A%09%09public void doGet(HttpServletRequest req, HttpServletResponse resp) %0A%09%09%09throws IOException %7B%0A%09%09%09%09%09%09%09%09%09resp.setContentType(%22text/plain%22);%0A%09%09%09%09%09%09%09%09%09resp.getWriter().println(%22%7B %5C%22name%5C%22: %5C%22KUK%5C%22 %7D%22);%0A%09%09%09%09%09%09%09%09%7D%0A%7D%0A

Create DemoServlet.java