public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { BufferedReader br = request.getReader(); String str = ""; String listString = ""; while ((str = br.readLine()) != null) { listString += str; } System.out.println(listString); }