晋加答 发表于 2008-9-5 13:46

<logic:equal>问题

<logic:equal name="LoginForm" property="type" value="1"  Scope="session" >
<table>
   <tr>
        <td></td>
  </tr>
</table>
</logic:equal>

我想用这个标签实现,当登录用户的用户类型为"1" 时,显示这个table。用户类型 在session中取得。当运行时报错:
Attribute Scope invalid for tag equal according to TLD.
不知道是不是要在<%
            %>里面加些什么代码?还是别的其他原因呢?


页: [1]

编程论坛