c:if+EL表达式实现新增/编辑共用一个页面
来源:互联网 发布:电脑网络延迟高 编辑:程序博客网 时间:2024/05/02 00:43
根据上一个页面的url传值来确定头部显示为哪个页面;
例如:url:"localhose.......eidt?themeId="+themeId;
我们就可以在jsp页面写下面这句:
<div class="position">
<a href="${ctx}/index" target="_top">首页</a><em>></em><a>系统管理</a>
<em>></em>
<a class="last-position"><c:if test="${empty param.themeId}">主题新增</c:if>
<c:if test="${not empty param.themeId}">主题编辑</c:if></a>
</div>
<div class="form-title">
<c:if test="${empty param.themeId}">主题新增</c:if>
<c:if test="${not empty param.themeId}">主题编辑</c:if>
</div>
0 0
- c:if+EL表达式实现新增/编辑共用一个页面
- <c:if></c:if>中多个EL表达式
- 关于jsp EL表达式<c:if>没有<c:else>解决方案
- javaBean+EL表达式实现页面输出
- EL表达式 c:if 语言打死都不执行
- java - el表达式中<c:if>判断无效
- C标签加EL表达式在jsp页面实现遍历后台内容
- <s:if></>与EL表达式
- el 表达式的if else
- EL表达式的 if else
- jstl+el表达式实现list在jsp页面的输出
- jsp页面中利用EL表达式实现时间格式转换
- JSP页面禁用EL表达式的原因和实现方法
- jsp页面中利用EL表达式实现时间格式转换
- EL表达式的相关代码和jstl中的<c:if>、<c:foreach>标签
- <c:if>标签中的test可以比较两个el表达式中的值
- 12-EL表达式中的if.....else....使用方法
- EL表达式中的if.....else....使用方法
- Android自定义控件系列案例【一】
- 基于Spring +Apache POI 导入 ajaxSubmit提交方式导入excel
- as3 时间
- 浅谈PHP类与对象
- 从数据库中导出所有的存储过程的4种方法
- c:if+EL表达式实现新增/编辑共用一个页面
- zookeeper
- Shiro入门3:Shiro主要架构、组件介绍
- 8.1 JavaScript:驾驭网页-DOM
- Offer题5 链表末尾插入&删除指定值&从头到尾打印
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either
- [BZOJ3223]文艺平衡树(平衡树splay)
- Web自动化测试中的接口测试
- armeabi armeabi-v7a mips x86 理解