一、url
1、<s:url action="merch_selectByAll" value="merch_selectByAll"></s:url>
页面显示:
value:merch_selectByAll //action or jsp
action:/project/merch_selectByAll.action //只为action 自动添加.action
同时存在以value为准
2、<s:url action="merch_selectByAll" includeContext="true/false">
<s:param name="id" value="109"/>
</s:url>
页面显示:
默认true:/project/merch_selectByAll.action?id=109
false:merch_selectByAll.action?id=109
3、<s:url></s:url>
显示当前页面的url地址
二、iterator
1、status
#status.odd 是否奇数行
#status.count 当前行数
#status.index 当前行的序号,从0开始『#status.count=#status.index+1』
#status.first 是否第一行
#status.last 是否最后一行
分享到:
相关推荐
Struts2 WebWork 2.0 Tags API 中文文档 [CHM] webwork提供了一套不依赖于显示层技术的标签库。这一章我们将概括性的描述每一个标签, 比如此标签支持的属性,标签的行为等等。 大多数的标签都可以用于所有的模板...
struts2-tags-API.rar Control_Tags Data_Tags Form_Tags FreeMarker_Tags Themes_and_Templates Velocity_Tags ……
org.apache.struts2.views.freemarker.tags org.apache.struts2.views.jsp Struts's JSP tag library. org.apache.struts2.views.jsp.iterator org.apache.struts2.views.jsp.ui org.apache.struts2.views.util ...
<% @ taglib uri = " http://struts.apache.org/tags-tiles " prefix = " tiles " %> < HTML > < HEAD > < TITLE > test < TITLE > < HEAD > < BODY > ...
Control,Data,Form,FreeMarker,JSP,Non,Form,Tag标签详解
当然该E书是英文的:着重如下方面的介绍 1)How do we integrate Struts tags into our ... 2)Which tags work with data items? 3)Which tags work with control issues? 4)What other tags are available?
Struts is a set of cooperating classes, servlets, and JSP tags that make up a reusable MVC 2 design. This definition implies that Struts is a framework, rather than a library, but Struts also contains...
Servlets和JSP核心技术 卷2 内容还是很详细的,看过卷1的人可以继续用这本书深造,呵呵 目录: Chapter 1. Using and Deploying Web Applications Section 1.1. Purpose of Web Applications Section 1.2. ...
Servlets和JSP核心技术 卷2 内容还是很详细的,看过卷1的人可以继续用这本书深造,呵呵 目录: Chapter 1. Using and Deploying Web Applications Section 1.1. Purpose of Web Applications Section 1.2. ...
{13.9}Meta Data}{201}{section.13.9} {13.10}可滚动结果集}{201}{section.13.10} {13.11}Procedure}{201}{section.13.11} {14}xml}{204}{chapter.14} {14.1}元素}{204}{section.14.1} {14.2}XML的设计}{205}{...
Chapter 2. JavaScript for Ajax Chapter 3. A Simple Ajax Servlet Chapter 4. XML and JSON for Ajax Chapter 5. Getting Useful Data Chapter 6. Ajax Libraries and Toolkits Chapter 7. Ajax Tags Chapter 8....
第三章 Action,Result & Struts2 Tag Library......................267 第四章 Data Transfer & Type Converter..273 第五章 Validation(数据格式验证)..276 第六章 Internationalization(I18N:国际化).............
第三章 Action,Result & Struts2 Tag Library......................267 第四章 Data Transfer & Type Converter..273 第五章 Validation(数据格式验证)..276 第六章 Internationalization(I18N:国际化).............
15.4. Struts 15.4.1. ContextLoaderPlugin 15.4.2. ActionSupport Classes 15.5. Tapestry 15.5.1. 注入 Spring 托管的 beans 15.6. WebWork 15.7. 更多资源 16. Portlet MVC框架 16.1. 介绍 16.1.1. 控制...
15.4. Struts 15.4.1. ContextLoaderPlugin 15.4.2. ActionSupport Classes 15.5. Tapestry 15.5.1. 注入 Spring 托管的 beans 15.6. WebWork 15.7. 更多资源 16. Portlet MVC框架 16.1. 介绍 16.1.1. 控制...