小编kra*_*der的帖子

如何查找会话变量是否存在

我如何找到值在会话中是否设置为变量?

if(session.getAttribute("tot_demand"))//need to change

  //if value is already set then do this.

else

  //if not set then do this.
Run Code Online (Sandbox Code Playgroud)

我需要写什么,以使上述代码有效?

jsp servlets

2
推荐指数
1
解决办法
1453
查看次数

标签 统计

jsp ×1

servlets ×1