敏感马里奥

文章
7
资源
0
加入时间
3年0月28天

struts2中action调用两次问题

最近在开发个后台管理系统,发现调用某个action中的方法老是会调用两次,在网上查找后发现:我的方法是以get开头的无参方法,类似getXXX()。当使用struts2执行action时,会自动调用任何以get开头的无参数方法,只要把名字修改下就可以了。

js学习笔记 —— 动画封装

js动画函数封装/* * 动画函数 * el 操作的对象 * attr属性值 * terhet目标位置 * speed速度 * callback回调函数*/function move(el, attr, target, speed, callback) { clearInterval(el.interId) var currentVlaue = parseInt(getStyle(el, attr)) if (currentVlaue &g