DEPRECATIONS - The entire custom tag library
that is documented in struts.tld
has been deprecated.
These tags correspond to the Struts 0.5 functionality that is also
deprecated, and have been replaced (and considerably enhanced) in
the various individual tag libraries.
DEPRECATIONS - The entire custom tag library
that is documented in struts-form.tld
has been deprecated
because this library has been renamed struts-html.tld
instead.
DEPRECATIONS - Several classes in the
org.apache.struts.util
package have been marked as
deprecated in their entirety, because they will be replaced by
versions from the Jakarta Commons project once those packages are
released. These deprecated classes will not be
removed until a release after Struts 1.1. In general, the only
change required inside user code using these classes will be to
update the import
statement. The following classes
are involved:
- ArrayStack
- BeanUtils
- ConvertUtils
- FastArrayList
- FastHashMap
- FastTreeMap
- GenericConnection
- GenericDataSource
- PropertyUtils
The following new features have been added to the basic controller
framework (package org.apache.struts.action
):
The following new features have been added to the utility classes
(package org.apache.struts.util
):
GenericDataSource
can now be configured with a "ping"
type command (via the pingCommand
and
pingQuery
properties) that will be executed before
returning a connection from getConnection()
. This
can be used to detect stale connections due to timeouts or a
database server restart. If the ping command fails, the corresponding
connection will be thrown away, and a new one allocated.
The following new features have been added to the
struts-html custom tag library (package
org.apache.struts.taglib.html
):
- It is now possible to use any object in the values and labels
collections for the
<html:options>
tag.
- Added the missing
tabindex
attribute to the
<html:radio>
tag.
- On the
<html:img>
, <html:link>
,
and <html:rewrite>
tags, you can now specify
arbitrary object values in the Map
used to include
dynamic request attributes, as long as the toString()
method renders the values appropriately.
- In all cases where "minimized" attributes were being generated
(
checked
, disabled
, multiple
,
readonly
, and selected
), the generated
attribute has a value (such as selected="true"
) for
XML syntax compatibility.
The following new features have been added to the
struts-logic custom tag library (package
org.apache.struts.taglib.logic
):
The following new features have been added to the
struts-template custom tag library (package
org.apache.struts.taglib.template
):
The following new features have been added to the Struts Documentation
application (and corresponding contents on the Struts web site):