get the json from httpservlet(a sample project)