摘要:
a. In controller add @CrossOrigin(origins = "http://localhost:8080") b. In mvc-servlet.xml add <mvc:cors> <mvc:mapping path="/**" /> </mvc:cors> c. In 阅读全文
摘要:
1.右键Project Facets, Convert to faceted from 2.改Dynamic Web Module的Version3.点击下面的Further configuration available…,设置web.xml文件的路径,输入src/main/webapp. Gen 阅读全文
摘要:
if ((line = br.readLine()).contains("PID")){ TestResultDTO t = new TestResultDTO(); t.pid = line.substring(beginIndex); t.list = new ArrayList<String> 阅读全文