The data returned by the server is as follows:
{"List": [{"id": 1, "name": "Han" },{ "id": 2, "name": "Mongolian "}, {"id": 3, "name": "Manchu" },{ "id": 4, "name": "Korean" },{ "id": 5, "name": "Hezhe" },{ "id": 6, "name": "Daur" },{ "id": 7, "name ": "ewenke" },{ "id": 8, "name": "elunchun" },{ "id": 9, "name": "Hui "}, {"id": 10, "name": "Dongxiang" },{ "id": 11, "name": "" },{ "id": 12, "name": "Sarah" },{ "id": 13, "name": "Security" },{ "id": 14, "name ": "yugu" },{ "id": 15, "name": "Uygur" },{ "id": 16, "name": "Kazakh "}, {"id": 17, "name": "kerkcumin" },{ "id": 18, "name": "Siber" },{ "id": 19, "name": "Tajik" },{ "id": 20, "name": "Ukrainian Buick" },{ "id": 21, "name ": "" },{ "id": 22, "name": "Tartar" },{ "id": 23, "name": "Tibetan "}, {"id": 24, "name": "menba" },{ "id": 25, "name": "ba" },{ "id": 26, "name": "" },{ "id": 27, "name": "Yi" },{ "id": 28, "name ": "bai" },{ "id": 29, "name": "Hani" },{ "id": 30, "name": "Dai "}, {"id": 31, "name": "" },{ "id": 32, "name": "wa" },{ "id ": 33, "name": "la" },{ "id": 34, "name": "Naxi" },{ "id": 35, "name ": "Jingpo" },{ "id": 36, "name": "brown" },{ "id": 37, "name": "Achang "}, {"id": 38, "name": "pumy" },{ "id": 39, "name": "Nu" },{ "id": 40, "name": "de Ang" },{ "id": 41, "name": "Dulong" },{ "id": 42, "name ": "Keno" },{ "id": 43, "name": "Miao" },{ "id": 44, "name": "Buyi "}, {"id": 45, "name": "Dong" },{ "id": 46, "name": "Aquarium" },{ "id": 47, "name": "" },{ "id": 48, "name": "Zhuang" },{ "id": 49, "name ": "Yao" },{ "id": 50, "name": "" },{ "id": 51, "name": "Mao Nan "}, {"id": 52, "name": "" },{ "id": 53, "name": "TuJia" },{ "id": 54, "name": "Li" },{ "id": 55, "name": "She" },{ "id": 56, "name ": "Mountain" },{ "id": 57, "name": "wear"}], "success": "true "}
Jsp code:
<%@ page language="java" contentType="text/html; charset=UTF-8"pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">