【J2EE>JSP/Servlet】EL 中使用三元运算符
摘要:
在el中使用三元运算符,并拼接字符串,示例如下: ${param.op=='add'?pageScope.path.concat('/pro!add.action'):pageScope.path.concat('/pro!upd.action') } 阅读全文
posted @ 2017-07-29 01:51 0X000 阅读(189) 评论(0) 推荐(0) 编辑
posted @ 2017-07-29 01:51 0X000 阅读(189) 评论(0) 推荐(0) 编辑
posted @ 2017-07-29 00:13 0X000 阅读(112) 评论(0) 推荐(0) 编辑