摘要: 自定义EL函数(静态方法): 编写步骤: 1.编写一个Java类,提供一个静态方法 import java.util.List; public class GetLength { public static Integer getLength(List list){ return list.size 阅读全文
posted @ 2018-01-04 19:26 Mr·Liu 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 运算符"."和"[]": "."能做的"[]"也能做,"[]"能做的"."不一定能做。java不识别的用"[]" 算数运算符:+,-,*,/或div,%或mod关系运算符:==或eq,!=或ne,<或lt,>或gt,<=或le,>=或ge 逻辑运算符: &&或and , ||或or , !或not 阅读全文
posted @ 2018-01-04 19:19 Mr·Liu 阅读(2360) 评论(0) 推荐(0) 编辑