Populating JavaScript Array from JSP List

后端 未结 3 836
[愿得一人]
[愿得一人] 2020-12-01 16:24

Ok so perhaps someone can help me with a problem I\'m trying to solve. Essentially I have a JSP page which gets a list of Country objects (from the method referenceData() fr

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-01 17:11

    Have you considered using JSON? There are several libraries out there that can take a generic collection and output JSON for Java and other languages.

提交回复
热议问题