List<String> arr=new ArrayList<String>(); arr.add("success"); String json=new Gson().toJson(arr); response.setContentType("application/json"); response.setCharacterEncoding("UTF-8"); response.getWriter().write(json);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)