如何访问url并取出数据?

地址是这个:http://192.168.0.21:19842/rt/YearServlet
用浏览器访问,返回的数据是这些:
["2015-06-05 16:21:40", "2015-06-05 15:30:38", "2015-06-05 15:07:26", "2015-06-05 14:38:21", "2015-06-05 14:38:21", "2015-06-05 14:33:18", "2015-06-05 14:23:18", "2015-06-05 14:18:16", "2015-06-05 14:15:09", "2015-06-05 14:12:16", "2015-06-05 14:12:16", "2015-06-05 14:05:34", "2015-06-05 14:01:27", "2015-06-05 13:57:44", "2015-06-05 13:57:44", "2015-06-05 13:51:23", "2015-06-05 13:51:23", "2015-06-05 13:41:43",]

我如何访问这个地址,并把返回的这些数据放到L里?

查看全部
u014603095
POPLX_杀手
2015/06/11 02:08
  • html5
  • js
  • ajax
  • url
  • 点赞
  • 收藏
  • 回答
    私信

5个回复