利用Struts2框架,將後臺數據轉化爲JSON數據並返回到前臺

一、第一步,配置web.xml,配置代碼以下 <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc
相關文章
相關標籤/搜索