Struts-EL extension
===================
Introduction
------------
This subproject is an extension of the Struts tag library. Each JSP custom tag
in this library is a subclass of an associated tag in the Struts tag library.
One difference is that this tag library does not use "rtexprvalues", it uses
the expression evaluation engine in the Jakarta Taglibs implementation of the
JSP Standard Tag Library (version 1.0) to evaluate attribute values.
In addition, some of the Struts tags were not ported to this library, as it was
determined that their functionality was entirely supplied by the JSTL. These
particular Struts tags, and the reason for their non-porting will be described
in the documentation for this library.
In order to fully understand the correct utilization of this library, you must
understand the use and operation of the Struts tag library, and the use and
operation of the JavaServer Pages Standard Tag Library (hereafter called the
"JSTL"), along with the expression language (sometimes called the "EL") used
for evaluating attribute values.
Tag Mapping
-----------
In implementing the Struts-EL library, every Struts tag that provides a feature
that is not covered by the JSTL (1.0) library is mapped into the Struts-EL
library. This section reviews which Struts tags are NOT implemented in the
Struts-EL library, and which JSTL tags provide that feature.
Many of the non-porting decisions were based on the fact that the JSTL
expression language itself provides the same functionality. In those cases, in
addition to a possible JSTL tag name, the symbol "EL" will be listed.
Bean Tag Library Tags NOT Implemented in Struts-EL
--------------------------------------------------
Struts Tag JSTL Tag
---------- --------
cookie c:set, EL
define c:set, EL
header c:set, EL
include c:import
parameter c:set, EL
write c:out
Logic Tag Library Tags NOT Implemented in Struts-EL
--------------------------------------------------
Struts Tag JSTL Tag
---------- --------
empty c:if, c:when, EL
equal c:if, c:when, EL
greaterEqual c:if, c:when, EL
greaterThan c:if, c:when, EL
lessEqual c:if, c:when, EL
lessThan c:if, c:when, EL
notEmpty c:if, c:when, EL
notEqual c:if, c:when, EL
(Note that the "iterate" tag was originally ported, even with the presence of
the "c:forEach" tag, as the "indexed tag" functionality was not supported when
using "c:forEach" instead of "logic:iterate". This has since been rectified,
such that the "indexed tag" functionality checks for being contained in a
"c:forEach" tag, in addition to the "logic:iterate" tag. However, the ported
"iterate" tag has not been removed from Struts-EL, for backward compatibility.)
Html Tag Library Tags NOT Implemented in Struts-EL
--------------------------------------------------
None (all of them were ported).
Attribute Mapping
-----------------
At this point of the implementation, there is only one change (to two similar
tags) to the set of attributes between the Struts tags, and the Struts-EL tags.
The "logic:match" and "logic:notMatch" tags have an additional attribute named
"expr", which can take any value, and will be used as the value to compare
against, in addition to the choices of "cookie", "header", "name"/"property",
and "parameter".
Usage Requirements
------------------
The Struts-EL tag library requires the use of the Struts tag library, and the
Java Server Pages Standard Tag Library. It is not necessary for JSP pages
using the Struts-EL tag library to also use the Struts tags or the JSTL tags,
but the Struts and JSTL tag libraries need to be part of the application
utilizing the Struts-EL tag library.
This is because the Struts-EL tag classes are all subclasses of Struts tag
classes, and their implementation uses classes provided by the JSTL.
没有合适的资源?快使用搜索试试~ 我知道了~
Struts所有jar包、DTD文件(struts-1.2.9-bin.rar)
共53个文件
tld:22个
jar:12个
dtd:7个
5星 · 超过95%的资源 需积分: 9 167 下载量 146 浏览量
2010-05-10
21:02:15
上传
评论
收藏 13.73MB RAR 举报
温馨提示
绝对好东西! 将Struts jar包、DTD文件收集起来,一起奉献给大家, 物超所值~
资源推荐
资源详情
资源评论
收起资源包目录
struts-1.2.9-bin.rar (53个子文件)
struts-1.2.9-bin
LICENSE 10KB
contrib
struts-el
lib
struts-html-el.tld 72KB
c.tld 11KB
fmt.tld 12KB
struts-tiles.tld 8KB
struts-bean-el.tld 5KB
struts-el.jar 207KB
struts-tiles-el.tld 8KB
x-rt.tld 7KB
sql-rt.tld 5KB
jstl.jar 20KB
standard.jar 497KB
struts.jar 537KB
struts-logic-el.tld 8KB
x.tld 7KB
c-rt.tld 11KB
struts-bean.tld 9KB
struts-html.tld 72KB
struts-logic.tld 14KB
struts-nested.tld 70KB
sql.tld 6KB
fmt-rt.tld 11KB
README.txt 4KB
webapps
strutsel-exercise-taglib.war 1.18MB
NOTICE 231B
INSTALL 411B
lib
web-app_2_3.dtd 33KB
tiles-config_1_1.dtd 12KB
validator_1_1_3.dtd 11KB
struts-tiles.tld 8KB
commons-logging.jar 37KB
struts-config_1_0.dtd 18KB
validator-rules.xml 13KB
jakarta-oro.jar 64KB
commons-validator.jar 82KB
web-app_2_2.dtd 16KB
struts.jar 537KB
commons-beanutils.jar 184KB
antlr.jar 350KB
struts-bean.tld 9KB
struts-html.tld 72KB
commons-fileupload.jar 22KB
struts-logic.tld 14KB
commons-digester.jar 164KB
struts-nested.tld 70KB
struts-config_1_2.dtd 34KB
struts-config_1_1.dtd 35KB
README 715B
webapps
tiles-documentation.war 1.59MB
struts-examples.war 1.44MB
struts-blank.war 1.31MB
struts-documentation.war 4.6MB
struts-mailreader.war 1.45MB
共 53 条
- 1
资源评论
- 浮度人生2013-03-09不错,虽然struts1 有点老可是开发小项目足够了。
- wsf01252013-03-18亲测可用...
- Copy_Angel2015-09-04终于找到我需要的文件了,谢谢
- lv_ws2012-11-26虽然和以前下的一样,还是谢谢,亲测可用。
- jjre19902013-08-26资源很好 是struts-1.2.9-bin,好用
dunhuacc1234
- 粉丝: 125
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功