摘要:
XMLHttpRequest cannot load https://www.emaple.com. No 'Access-Control-Allow-Origin' header is present on the requested resource.有时会出现这种错误,ajax进行跨域访问的时... 阅读全文
摘要:
上传的php程序在运行后报“internal server error”错误,检查以下两方面:1、请您检查php程序的属性是否设置为755,如果php程序的属性不是755,那么运行的时候会报“internal server error”错误,请您使用ftp软件将属性更改为755再测试。2、请您检查p... 阅读全文
摘要:
//(赋值)最简单的一种hashMap赋值方式List> aMap= new ArrayList>();aMap.put("user","admin");//通过put加入一个键值aMap.put("pwd","admin");数据的遍历//测试遍历数据List> msg = selectService.select();//selectService.select("");此处理解为数据库查询的一个接口//(遍历)循环遍历List>第一种方式for(Map m : ms 阅读全文