item.getAccount是得到null,为什么会显示出来,不是应该是什么都没有吗?
高洛峰2017-04-17 17:55:57
el expression can solve your problem.
As for why null is displayed, I personally think it’s because of the double quotes
高洛峰2017-04-17 17:55:57
I don’t know the syntax of jsp. If you convert it to a string, it will be displayed naturally, or you can use || to judge it
怪我咯2017-04-17 17:55:57
This is the java code written in jsp. If it is null, it will definitely be displayed as null
Shouldn’t it be done using scope${}
?