- <bean:cookie?id="category"?name="cat"/> ??
- 替换 ??
- <c:set?var="category"?value="${cookie[''cat''].value}"/> ??
- ------------------------------------------- ??
- <bean:define="name"?value="ObjName"/> ??
- 替换 ??
- <c:set?var="name"?value="${ObjName}"/> ??
- ------------------------------------------- ??
- <bean:header?id="browser"?name="User-Agent"/> ??
- 替换 ??
- <c:set?var="browser"?value="${header[''User-Agent'']}"/> ??
- ------------------------------------------- ??
- <bean:include?id="yahooContents"?href="?http://www.yahoo.com/"/?> ??
- 替换 ??
- <c:import?var="yahooContents"?url="?http://www.yahoo.com/?"/> ??
- -------------------------------------------- ??
- <bean:parameter?id="color"?name="clr"/> ??
- 替换 ??
- <c:set?var="color"?value="${param[''clr'']}"/> ??
- -------------------------------------------- ??
- <bean:write?name="ObjName"/> ??
- 替换 ??
- <c:out?value="${ObjName}"/> ??
- -------------------------------------------- ??
- <logic:empty?name="results"/> ??
- Your?value?is?empty ??
- </logic> ??
- 替换 ??
- <c:if?test="${empty?results}"> ??
- Your?value?is?empty ??
- </c:if> ??
- -------------------------------------------- ??
- <logic:equal?name="val"?value="0"> ??
- val=0??
- </logic:equal> ??
- 替换 ??
- <c:if?test="${value==0}"> ??
- val=0??
- <c:if> ??
- -------------------------------------------- ??
- <logic:greaterEqual?name="count"?value="5"> ??
- Count?is?greater?than?or?equal?to?five ??
- </logic:greaterEqual> ??
- 替换 ??
- <c:if?test="${count>=5}"> ??
- Count?is?greater?than?or?equal?to?five ??
- </c:if> ??
- -------------------------------------------- ??
- <logic:iterate?id="result"?collection="<%=results%>"> ??
- Result:<%=result%><bt> ??
- </logic:iterate> ??
- 替换 ??
- <c:forEach?var="result"?items="${results}"> ??
- Result:<c:out?value="${result}"/> ??
- </c:forEach> ??
- -------------------------------------------- ??
- <logic:notEmpty?name="results"> ??
- Results?is?not?empty ??
- </logic:notEmpty> ??
- 替换 ??
- <c:if?test="${!empty?results}"> ??
- Results?is?not?empty ??
- </c:if> ??
- --------------------------------------------- ??
- <logic:notEqual?name="count"?value="0"> ??
- Count?is?not?equal?to?zero ??
- </logic:notEqual> ??
- 替换 ??
- <c:if?test="${count!=0}"> ??
- Count?is?not?equal?to?zero ??
- </c:if>??
详细解决方案
JSTL标签跟Struts标签的对应参照
热度:108 发布时间:2012-11-13 10:00:51.0
相关解决方案
- struts HTTP Status 500解决办法
- Struts-config.xml配置action-地图pings元素略计
- Struts-config.xml配置文件《action-地图pings》元素的详解
- JSTL 迭代 List聚合方法
- 404,500跳转到登录页面,疏失:The Struts dispatcher cannot be found
- JSP 定做标签库 JSTL
- java struts 文件上载
- struts hibernate 测试小例子 不报错 但数据库没反应 求分析项目在小弟我的资源里面
- 求SSM分页 struts +spring+mybatis 给小弟我发个学习学习吧 多谢大神们
- 关于 jsp struts-tag <c:if> 判断有关问题
- JSTL 迭代 List会合方法
- struts+spring+mybatis出现错误(java.lang.ClassNotFoundException: Entity)为提示位置
- 求解 struts+spring+mybatis sqlsession为空 debug发现没有执行set方法 检查配置好像没有关问题
- struts + hibernate 后台页面修改数据后,前台页面显示的内容新旧数据交替出现。请高手帮忙分析上原因
- struts+spring+hibernate 开发,在action层调用service层接口,结果替null 注入失败,需高手帮忙
- 有个有关问题,请各位帮忙看看:java.lang.ClassNotFoundException: org.apache.struts.action.Act
- struts.xml资料中的namespace"/"当在/后加东西时没起作用
- 生手求教,dwr+struts+spring 页面跳提示框error
- struts checkbox 页面显示
- Servlet struts is not available要如何解决
- struts+hibernate数据库链接池有关问题
- JSP运行异常 STRUTS + SQL SERVER 2005
- Struts 国际化 i18N properties 数据动态,该如何处理
- struts hibernate,该如何处理
- struts2 重定向有关问题(struts.xml)
- struts.xml有关问题
- struts.xml跳转有关问题
- jstl 的 与 的写法解决方法
- 一声,struts中,struts.xml和struts-config.xml是不是一样
- struts 2.18客户端证验不能编译