- 博客(5)
- 收藏
- 关注
原创 页面http请求的几种方式
目录:1.jQuery中的ajax请求:$.post(url,data,fn,type)$.get(url,data,fn,type)2.form提交的方式,可以发起请求,采用$(’#myform’).submit(),的方式发起请求,可以在form的method中设置get还是post3.window.open(URL,name,specs,replace),打开新页面,不刷新当前页面。默认是get请求。4.window.location.href(url),重新定向到新页面,并刷新打开的页面
2021-09-02 23:46:23
1500
原创 sql查询返回值使用map封装多个key和value
sql查询返回值使用map封装多个key和value直接上代码,代码是测试过的1.重写ResultHandlerpublic class MapResultHandler implements ResultHandler { private final Map mappedResults = new HashMap(); @Override public void handleResult(ResultContext context) { @SuppressW
2020-06-07 17:37:42
2851
原创 list集合的一些方法(分段截取,分页,排序)
list集合的一些方法(分段截取,分页,排序)1、list分段截/** * 截取list集合,返回list集合 * @param tList (需要截取的集合) * @param subNum (每次截取的数量) * @return */ public static<T> List<List<T>> subList(List<T> tList, Integer subNum) { // 新的截
2020-06-07 17:20:25
3730
原创 orcale常用函数
orcale常用函数1.字符截取函数 1.substr函数格式 格式1: substr(string string, int a, int b); 格式2:substr(string string, int a) ; 2.实例讲解 格式1: ...
2020-05-27 11:35:17
226
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人