Beetl 支持为模板自定义定界符和占位符,默认占位符号${}
我之前一直以为是EL表达式
Guns的beetl语法都以@开头
xxxLP能在循环体内使用。其命名规范是xxx名称后加上LP,提供了当前循环的信息
获取前端的参数(guns都直接封装到HttpContext里面了,直接获得request)
ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
HttpServletRequest request = attributes.getRequest();
request.getparameter