![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
come_on_xm
这个作者很懒,什么都没留下…
展开
-
数组去重,list去重
public static void testUn1(){ String[] arr = { “1”, “2”, “1”, “3”, “2”, “3”}; List<String> arrList1 = Arrays. asList(arr); List<String> arrList = new ArrayList<String>(arrList1原创 2017-07-27 14:57:16 · 561 阅读 · 0 评论 -
Jquery跨域调用struts2的Action返回json数据易出现的问题
必须有jsoncallback 1. $.getJSON("/queryName.action?jsoncallback=?",function(json){ alert(" json="+ json); console.log( json); }); 2.原创 2017-07-27 15:14:26 · 955 阅读 · 0 评论