用total = ${total};获取的是数值; 用total = vars.get()方法获取的是字符串; 同样,用vars.put()方法传递的也是字符串 数字转字符串可以用toString()方法 图片.png