如何在EL中连接字符串?
我想做这样的事情,但它不起作用:
${var1 == 0 ? 'hi' : 'hello ' + var2}
它抛出异常试图转换'hello'为Double
'hello'
Double
jsp el
el ×1
jsp ×1