服务端代码运行之后在浏览器输入:
http://localhost:8080/Json_Gson_FastJson/
http://localhost:8080/Json_Gson_FastJson//JsonServlet?action=person
http://localhost:8080/Json_Gson_FastJson//JsonServlet?action=persons
http://localhost:8080/Json_Gson_FastJson//JsonServlet?action=strings
http://localhost:8080/Json_Gson_FastJson//JsonServlet?action=maps
即可看到获取到的json数据
在android客户端的SecondActivity里面修改url即可