摘要:
传入集合list mybatis的sql文件 collection是要遍历的参数集合,item是集合中每个项,取值就这样取#{item} 阅读全文
posted @ 2016-04-18 17:29
乱码出黑客
阅读(1025)
评论(0)
推荐(0)
摘要:
打开新的窗口window.open("help.html"); 关闭页面<a href="javascript:window.opener = null;window.open('','_self');window.close();"> 阅读全文
posted @ 2016-04-18 17:02
乱码出黑客
阅读(2648)
评论(0)
推荐(0)
摘要:
在html页面head中加入<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" /> 阅读全文
posted @ 2016-04-18 17:00
乱码出黑客
阅读(405)
评论(0)
推荐(0)
摘要:
一、通过@PathVariable获取路径中的参数 例如,访问user/123/hello路径时,执行以上方法,其中,参数id=123,name=hello 二、@ModelAttribute获取POST请求的FORM表单数据 页面表单记得加上name属性 用来接收的Java类: Java的cont 阅读全文
posted @ 2016-04-18 16:46
乱码出黑客
阅读(416)
评论(0)
推荐(0)

浙公网安备 33010602011771号