在action中判断,if(是manager)return mapping.findForward("view");
else return return mapping.findForward("false");
else return return mapping.findForward("false");
解决方案 »
- javascript怎么知道 s:doubleselect 选择的值
- spring AOP的问题
- 我的这个页面无法使用样式表
- jsp下使用fck上传功能无法实现(急!!!!)
- spring中如何将声明性事务和普通代理结合起来
- 购物网站的action怎么设计
- hibernate中POJO类的问题
- SQL在JAVA中的拼凑问题 (在线等待中。。。。。。。)
- 两个实体bean的关联问题(如何执行?jbx+wls8.1)
- 求助]疑难杂症,数十位专家都在研究此问题中,目前无解
- 如何在Redhat--linux下安装使用J2EE?
- 一个奇怪的问题连接池问题,我用的是STRUTS的连接池,WEB服务器是TOMCAT,数据库是ORACLE,每次如果手动启动TOMCAT的时候就很正常,把它
<logic:present name="Type">
<logic:equal name="Type" value="Manager">
<html:link page="/manager.jsp" >管理</html:link>
</logic:equal>
</logic:present>
这是关于name属性的说明。The variable to be compared is the JSP bean specified by this attribute, if property is not specified, or the value of the specified property of this bean, if property is specified.
这是property的说明:The variable to be compared is the property (of the bean specified by the name attribute) specified by this attribute. The property reference can be simple, nested, and/or indexed.