##### Struts 1

- Welcome
- Learning
- Roadmap
- Releases
- Thanks!
- Sponsorship

##### Documentation

- User Guide
- FAQs and HOWTOs
- Release Notes
- Javadoc
- DTDDoc

##### Support

- User Mailing List
- Issue Tracker (JIRA)
- Wiki Pages

##### Components

- Struts Apps
- Struts EL
- Struts Extras
- Struts Faces
- Struts Scripting
- Struts Taglib
- Struts Tiles

## 6.1 Release Notes

### Release Candidate Notes

This section contains the release notes for the Version 1.1 Release Candidate 2 build of the Struts Framework, for changes that have taken place since Version 1.1 Release Candidate 1 was issued. For a complete list of changes since the last production release, see the Introduction

### RC/Beta Fixes

In RC2, the Commons-DBCP and Commons-Pool dependencies have been removed . These are replaced with a dependency on the Struts-Legacy package, containing the GenericDataSource and GenericConnection classes from Struts 1.0.2. These are distributed for J2SE 1.3 but may be recompiled for J2SE 1.4. Other DataSource implementations may be plugged in (recommended).

RC2 is dependent upon Commons FileUpload RC1 . The final release of Struts 1.1 cannot happen until this dependency is updated to a final release of FileUpload. All other dependencies are in their final release.

Other changes since RC1 have been routine fixes and refactorings.

OTHER CHANGES:

Action package: Deprecated processActionForward() because ActionForward is a subclass of ForwardConfig so there's no reason we can't use processForwardConfig() instead. Updated to use processForwardConfig instead of deprecated processActionForward. Deprecated the rest of the Action constants in favor of Globals. Refactored some of initModuleConfig into a separate method and cleaned up. Improved exception handling in ActionServlet and RequestProcessor; generally, we limited the scope of try/catch blocks and caught specific exceptions rather than Throwable.

Documentation: Document the <html:html> tag's locale attribute behaviour of creating a session if needed. Added note to validator section regarding the converNull servlet parameter and required validations of java.lang.Integer fields. Moved sites and consultants page to Struts Wiki. Other minor tweaks.

EL package: Fixed mapping of "onkeypress" attribute. Separated "expr" attribute into "expr" and "exprValue", being the original attribute value and the evaluated value. Fixed probably long-standing bug in notMatch tag that made it behave identically to the "match" tag (instead of the reverse).

Example applicattions: Added Multi-config files for the example app.

Legacy package: Added package under contrib to host old GenericDataSource and GenericConnection classes.

Taglibs packages: Fixed several import statements. Refactored converting a scope name into its integer constant into a new method RequestUtils.getScope(String), and changed the DefineTag, EmptyTag, and TagUtils classes to use the new method.

faces taglib. Added early release to contrib area.

html taglib. Reset the 'processed' flag at the beginning of each usage of the tag. Use a local copy of the 'name' attribute to avoid modifying the attribute value itself. Fixed references to static members. For FrameTag and HiddenTag, conform TLD with implementations. In ErrorsTag, render a platform-independent line ending instead of hard coded "\r\n". In JavaScriptValidatorTag, make the line-end generation platform independent so that Cactus tests work properly. In FormTag, refactored code into smaller reusable methods. In RewriteTag, encode the ampersand character in XHTML mode only, otherwise write the ampersand as is so the URL will work in JavaScript scripts. Refactored form bean initialization out of doStartTag() into its own method. Refactored doStartTag() 'if' statement to avoid having long nested 'if' logic. In ErrorTag, fixed formatting and deprecated unused defaultLocale variable. Refactored doStartTag() and doEndTag() into smaller methods. Moved xhtml check to RequestUtils instead of duplicating the logic in many different classes. Added lookupProperty() method to BaseHandlerTag because both RadioTag and TextareaTag used the same code. Refactored TextareaTag into smaller methods. In JavaScriptValidatorTag, replaced duplicated code with call to RequestUtils.retrieveUserLocale() and simplified an 'if' statement.

logic taglib. Set 'iterator' to null in doEndTag() so that we release the iterator reference as early as possible. We cannot do the same for 'collection' since it is a tag attribute, and needs to remain unchanged to comply with the JSP spec. Don't create empty cookies array if null, just don't run the loop at all. In ForwardTag, remove unnecessary test for null.

nested tablibs. Improved support for Tomcat 4.1.18. Replace EVAL_BODY_AGAIN with EVAL_BODY_TAG so that the code compiles against the JSP 1.1 API. Changed the <nested:define> tag's tei class to reference a new custom tei class for the nested tags.

tiles taglib. Fixed references to static members. Deprecated outdated Tiles TextTag. For InsertTag, only include page if it's non-null. For InserTag, remove page check before including for more investigation.

Test packages: Added several new tests for the bean, html, and logic taglibs to the suite setup at the tail-end of RC1. Note: We cannot resolve request.getServerPort() in the Cactus 1.4.x environment, so for now, our tests will only run on Cactus 1.3

Tiles package: Deprecated TilesUtil.applicationClass() in favor of RequestUtils.applicationClass()

Util package: retrieveUserLocale now uses the request.getLocale() method for finding the user's preferred locale. If user has not specified this with Accept-Language header, the server default locale is used. Change encodeURL() to not use reflection on every call. In RequestUtils, simplified separator logic in computeURL().

Validator package: Deprecate logging methods and indicate that commons-logging should be used. Logic simplification and minor formatting fixes to Resources class.

build files:

- (build.properties.sample) Add an entry for http-unit.
- Remove dependency on Commons Resources for Struts 1.1 release. (This migration will happen later).
- Make it possible to build Struts against the Servlet 2.4 and JSP 2.0 APIs, where the JSP classes have been pulled out into their own JAR file (jsp.jar). On an earlier platform, you can leave the "jsp.jar" property unset and thing will continue to operate as they have before.

Bugzilla Problem Report fixes:

- Fixed #17312 - retrieveUserLocale throws exception without sessions.
- Fixed #17254 - If body text is empty and there's no resource key to lookup, display nothing in the option.
- Fixed #17371- The tag now uses RequestUtils.retrieveUserLocale for looking up the appropriate locale. Using that method protects us from needlessly creating a session.
- Fixed #17375 - Problem in ELErrorsTag because the "name" attribute of ErrorsTag has a non-null default value.
- Fixed #17622 - validator-rules.xml issues.
- Fixed #17299 - Set page variable from dyna map before validating.
- Fixed #17838 - Help debug specific user errors by showing quotes around the key that is in error (missing or mispelled).
- Fixed #17833 - validateShort and isAllDigits for negative numbers.
- Fixed #17328 - Synchronized loadLocale.
- Fixed #18018 - Changed field-* variables to camel case and no "-".
- Fixed #16548 - validateMinLength and validateMaxLength are now independent of the required check.
- Fixed #17389 - Splice in the I18nFactorySet.calculatePostixes from the attachment, rebuild, and ran the unit tests successfully.
- Fixed #17273 - Removed extra return statement (RequestUtils).
- Fixed #17592 - Tag should support a "naked" collection that is not a property of a bean.
- Fixed #17592 - Made "property" attribute of "optionsCollection" tag be not required, to match same change made for #17592 in base tag.
- Fixed #17562 - Change the InsertTag to let it use PageContext.include() instead of RequestDispatcher.include(). We are no back to the same mechanism used in the 1.1b3 release.
- Fixed #18186 - Use temp variable instead of overwriting tag attribute variable.
- Fixed #18394 - Changed error to info log if DefinitionsFactory is not supplied.
- Fixed #18538 - Changed shortname to "tiles".
- Fixed #18591 - Braces placement in message().
- Fixed #18018 - Don't output requiredif field* javascript variables because they're not used and break other validations.
- Fixed #18794 -Check ServletContext for ModuleConfig instead of request.
- Fixed #18864 - Changed Class-Path to conform to jar spec. The previous patch fixing a bug in WebLogic caused warnings in Resin.
- Fixed #18991 - Allow messages object passed to add(ActionMessages) to be null.
- Fixed #19040 - Added null checks back to ActionServlet.
- Fixed #19157 - Implement Serializable in NestedReference.
- Fixed #18869 - Added display-name to web.xml files.
- Fixed #19223 - Synchronized token methods for PR. Post 1.1 these methods should be moved to some kind of TokenProcessor class for reusability by other components such as the RequestProcessor (#16743).
- Fixed #19236 - Added "action" attribute to "html-el:frame" tag.
- Fixed #11932 - Factored common code out of message() and present() into a new private method retrieveMessageResources.
- Fixed #11922 - Moved Action's token methods to this new class to fix synchronization issues and allow Action to be more focused.
- Fixed #19594 - Fixed minlength javascript for PR. Also, removed password field checking from validateMask.
- Fixed #19773 - EmptyTag and added test to exercise-taglib webapp.
- Fixed #19835 - Add check against -1 to maxSize.
- Fixed #20034 - Call releaseInternal() in release() so if error occurs between begin/end of tag next user/request will not be working with old parameters.
- Fixed #20455 - validateRequiredIf() fails on Strings of whitespace.

### Introduction

The remainder of this document contains the release notes for 1.1 Release Candidate 2 build of the Struts Framework, and covers changes that have taken place since Version 1.0.2 was released. The following sections cover New Features and Changes to Struts.

### What's Included?

The binary distribution of this release includes the following files relevant to Struts:

- `INSTALL` - Brief installation instructions. See the `Struts Documentation Application` , or online at http://jakarta.apache.org/struts/ , for more information.
- `LICENSE` - The Apache Software Foundation license that defines the terms under which you can use Struts (and other software licensed by Apache).
- `README` - A brief introduction to Struts.
- `lib/` - Directory containing files you will need in your own applications. The individual files of interest are:
  - `commons-*.jar` - Release packages from the Jakarta Commons Project that Struts relies on. You are welcome to use these classes in your own applications. These JAR files should be copied into the `/WEB-INF/lib` directory of your web application. See below for the version of each Commons library that is included.
  - `struts.jar` - JAR file that contains the compiled Java classes of Struts. You must place this file in the `/WEB-INF/lib` directory of your web application.
  - `struts-xxxxx.tld` - The tag library descriptor files for the Struts 1.1 tag libraries (bean, html, logic, and template). You must place these files in the `/WEB-INF` directory of your web application, and reference them with appropriate `<taglib>` directives in your web.xml file.
  - `jdbc2_0-stdext.jar` - The JDBC 2.0 Optional Package API classes (package `javax.sql` ). You will need to include this file in the `/WEB-INF/lib` directory of your application, if it is not already made visible to web applications by your servlet container.
  - `struts-config_1_1.dtd` - The document type descriptor (DTD) for the Struts 1.1 configuration file (which is typically named `/WEB-INF/struts-config.xml` ). Your configuration file will be validated against an internal copy of this DTD -- this copy is available for reference purposes only.
  - `struts-config_1_0.dtd` - The document type descriptor (DTD) for the Struts 1.0 configuration file (which is typically named `/WEB-INF/struts-config.xml` ). Your configuration file will be validated against an internal copy of this DTD -- this copy is available for reference purposes only.
  - `web-app_2_2.dtd` - The document type descriptor (DTD) for web.xml files conforming to the Servlet 2.2 specification. This copy is for reference purposes only.
  - `web-app_2_3.dtd` - The document type descriptor (DTD) for web.xml files conforming to the Servlet 2.3 specification. This copy is for reference purposes only.
- `webapps/` - Web Application Archive (WAR) files for the web applications that are included with Struts.

The following Jakarta Commons libraries are included with this release of Struts:

- Commons BeanUtils 1.6.1
- Commons Collections 2.1
- Commons Digester 1.5
- Commons FileUpload 1.0 RC1
- Commons Lang 1.0.1
- Commons Logging 1.0.3
- Commons Validator 1.0.2

### What's New?

Following are highlights of the new features. In the next section, we provide links to the JavaDocs for the affected classes.

New Configuration DTD

The Struts Configuration 1.0 DTD has been deprecated in favor of the `struts-config_1_1.dtd` . In the Struts 1.1 release, existing Struts configuration files can be loaded using either DTD version.

New Dependencies on Commons packages

Several components of Struts 1.0 have been found to be useful in general Java development (and not just useful for building Struts-based web applications), and have been migrated into the Jakarta Commons Project . As a result, this release of Struts has been modified to rely on the Commons packages containing these classes, rather than the Struts internal versions. In nearly every case, this involved changing only the `import` statements at the top of the classes. Any of your applications that utilize these classes will need to be modified in the same way.

The following Commons packages contain the replacements for the corresponding Struts 1.0 classes:

- BeanUtils Package [ `org.apache.commons.beanutils` ] - `org.apache.struts.utils.BeanUtils` , `org.apache.struts.utils.ConvertUtils` , and `org.apache.struts.utils.PropertyUtils` .
- Collections Package [ `org.apache.commons.collections` ] - `org.apache.struts.util.ArrayStack` , `org.apache.struts.util.FastArrayList` , `org.apache.struts.util.FastHashMap` , `org.apache.struts.util.FastTreeMap` .
- Digester Package - [ `org.apache.commons.digester` ] - `org.apache.struts.digester.*` .

The following Commons packages are also now used by various components of the Struts framework:

- FileUpload Package [ `org.apache.commons.fileupload` ]
- Logging Package [ `org.apache.commons.logging` ]
- Validator Package [ `org.apache.commons.validator` ]

NOTE! XML Parser Prerequisite Updated

Struts now depends on an XML parser that conforms to the JAXP/1.1 (rather than JAXP/1.0) APIs. Parsers known to work include the JAXP/1.1 reference implementation, and Xerces 1.3.1.

SOURCE DEVELOPERS NOTE! Ant Prerequisite Updated

To build Struts from source Ant 1.4 or later is now required. This does not affect developers that use Struts from the binary distribution.

Struts Validator Integration

The new Commons Validator is now integrated with Struts and exposed through the new Validator package.

Tiles - An advanced templating taglib

The Tiles JSP assembly framework has been integrated with Struts.

Nested - An very cool taglib extension

The Nested taglib is bundled with Struts and enhances the functionality of the existing Struts tags.

New Example Applications

New example applications for the Validator and Tiles are now part of the Struts distribution.

New Contrib directory for optional components

A new directory ( `contrib` ) in the CVS source repository has been added to accumulate Struts add-on extensions that are generally useful but have not yet been integrated into the standard code base.

- Scaffold - An extension of the Commons Scaffold toolkit of reusable classes for building web applications.
- Struts-EL - The optional Struts-EL taglib makes it easy to use Struts with JSTL. (Container with Servlet 2.3 support required.)

The source for these components is available in the Struts source distribution. Binary distributions may also be made available in the Struts download area. As optional components, these products have their own release cycles.

Action Package Additions

The following new features have been added to the basic controller framework [ `org.apache.struts.action` ]:

- The ActionServlet now provides support for modular Struts applications and sports several new extension points.
- The new `ActionMessages` class will support a superset of the capabilities of `ActionErrors` , and will be useful as a collection of general purpose messages, not just errors.

Upload Package Additions

The following new features have been added to the file upload classes [ `org.apache.struts.upload` ]:

- `CommonsMultipartRequestHandler:` New class that implements file upload using the Jakarta Commons FileUpload package. This is now the default file upload implementation for Struts.

Util Package Additions

The following new features have been added to the utility classes [ `org.apache.struts.util` ]:

- `LocalStrings:` Correct message regarding replaceable parameter so that it does not append an extraneous character.
- `LabelValueBean:` New class that defines a collection of name/value pairs that can be used with the <html:options> and <html:optionsCollection> tags, and elsewhere.
- `MessageResources:` Escape any single quote characters that are included in the specified message string.
- `computeParameters:` Allow a transaction token to be the only parameter.
- `RequestUtils:` Change to encode ampersands when building a query string.

Bean Taglib Package Additions

The following new features have been added to the struts-bean custom tag library [ `org.apache.struts.taglib.bean` ]:

- `<bean:write>` : Add format, locale and bundle attributes to support formatting values according to current user locale, format string from attribute or format string from string resources.
- `<bean:cookie>, <bean:header>, or <bean:parameter>:` Correct the generated scripting variable type when tag is used with the "multiple" attribute.
- `<bean:message>:` Added `name` , `property` , and `scope` attributes to the tag, so that the message source key can be obtained dynamically from a bean or bean property.

HTML Taglib Package Additions

The following new features have been added to the struts-html custom tag library [ `org.apache.struts.taglib.html` ]:

- `<html:link>:` Added 'action' attribute.
- `<html:options>:` If the property specified by the 'property' attribute returns null, tag now throws an error message that indicates what the real problem is, rather than causing an NPE.
- `<html:option> and <html:options>:` Added 'style' and 'styleClass' attributes.
- `<html:optionsCollection>:` New tag providing a cleaner way of populating HTML options from a collection.
- `<bean:message>:` Added 'name', 'property' and 'scope' attributes so that the message resource key can be obtained dynamically from a bean.
- `<html:messages>:` New tag to iterate through a message collection in the new `ActionMessages` class.
- `ActionForm:` Tag will now call `reset()` if it instantiates the ActionForm bean. This also requires that the bean instantiated by the tag to be an `ActionForm` subclass.
- `<html:image>:` Added the 'align' attribute.
- `<html:img>:` Added the mouse event attributes ('onclick', 'ondblclick', 'onmousedown', 'onmouseup', 'onmouseover', 'onmousemove', 'onmouseout').
- `SubmitTag, SelectTag, LinkTag.java, CheckboxTag, ButtonTag, ImageTag, RadioTag, and TextArea tags:` Added indexed property.

Logic Taglib Package Additions

The following new features have been added to the struts-logic custom tag library [ `org.apache.struts.taglib.logic` ]:

- `<logic:empty>` and `<logic:notEmpty>` : New tags that are similar to `<logic:present>` and `<logic:notPresent>` except for the treatment of empty strings.

Template Taglib Package Additions

The following new features have been added to the struts-template custom tag library [ `org.apache.struts.taglib.template` ]:

- None.

Documentation Additions

The following new features have been added to the Struts Documentation application (and corresponding contents on the Struts web site):

- Version Differences: New section in Release Notes to link to the JavaDocs for all Struts classes and members added or changed between versions.
- FAQ/HowTos: New documentation category organizes our FAQs and example-driven howTos. New HowTos include "Building Applications", "Using SSL", and using Struts with Eclipse or NetBeans.
- User Guide Preface: New section to overview the enabling technologies behind Struts.
- Developer Guides: Added "cover page" to guides. These then link to the Package Descriptions and the API guides.
- HTML tag documentation: expanded to cover using indexed properties with iterate.
- Site Menu: Removed separate links to taglib documentation, since these are now in the Developer Guide.
- Newbie FAQ: The questions most likely to be asked by new developers using Struts. Still under development.
- Kickstart FAQ: The questions most likely to be asked when selecting Struts.
- 1.0.2 JavaDoc: Added archival copy to web site for future reference.
- The UserGuide "Building" pages: General revisions to reflect new features and current practices.
- Installation: Updated instructions for SilverStream and Resin. Add installation notes for Jetty. Added RexIP to list of nominal containers.
- JavaDocs: New `@since Struts 1.1` tag to indicate new packages, classes, and members added after the Struts 1.0.x version

### Operational Changes and Bug Fixes

Struts Configuration Changes

The following changes and bug fixes have occurred in the configuration files related to Struts:

- Deprecated (Struts 0.5) configuration file format: Remove support.
- Deprecated (Struts 0.5) methods: Remove from codebase.

Added Config Package

- ControllerConfig: Added inputForward property to indicate that ActionMapping.input is a forward rather than a URI.
- ControllerConfig: Added forwardPattern and inputPattern to help manage page directories in application modules.
- Added package to provide more flexibility in configuring the controller and to provide support for modular applications

Action Package Changes

The following changes and bug fixes have occurred in the basic controller framework (package `org.apache.struts.action` ):

- All constants in the Action class: Deprecated in favor of equivalents in new Globals class.
- ActionMapping: input property may now refer to an ActionForward rather than a module-relative path if inputForward is set to true on the module's ControllerConfig bean [org.apache.struts.config.ControllerConfig.
- ActionServlet: Added convertNull parameter to simulate the Struts 1.0 behavior when populating forms. If set to true, the numeric Java wrapper class types (like java.lang.Integer) will default to null (rather than 0).
- ActionServlet: Added "config/$foo" parameter and deprecated several others in favor of components in the new config package.
- ActionForms and related classes: Now use a StringBuffer when responding to a toString request in order to conserve resources.
- LookupDispatchAction: Added standard Action to help select between internationalized buttons.
- ActionForm class: Modified to use ActionServletWrapper rather than expose ActionServlet.
- ActionServletWrapper class: Added for use by ActionForm to prevent the Public String properties of ActionServlet from being changed via a query string.
- Action.MAPPING_KEY request attribute: Unconditionally pass the selected mapping as a request attribute ("org.apache.struts.action.mapping.instance") even if no form bean is specified.
- ActionServlet: Avoid a NullPointerException in corner cases caused by failed initialization of servlet.
- ActionForm class: Now truly serializable, because the two non-serializable instance variables (servlet and multipartRequestHandler) have been made transient. However, if you actually do serialize and deserialize such instances, it is your responsibility to reset these two properties.
- ActionMessages and ActionErrors: The initial order a property/key is added in is now retained.
- processActionForward(): Deprecated in favor of processForwardConfig

Upload Package Changes

The following changes and bug fixes have occurred in the file upload package (package `org.apache.struts.upload` ) [part of the Upload webapp]:

- CommonsMultipartRequestHandler: New implementation of file upload based on the Jakarta Commons FileUpload package. This new implementation is now the default.
- BufferedMultipartInputStream: Fixed lost byte problem.
- ArrayIndexOutOfBoundsException: Fixed situations where this was known to occur.
- Multipart requests: Better reporting for premature closing of input streams while reading multipart requests.
- New line characters: Additional fix for file corruption problem with uploads and new line characters.

Utility Package Changes

The following changes and bug fixes have occurred in the utilities (package `org.apache.struts.util` ):

- RequestUtils: Added support for forwardPattern, pagePattern, and inputForward properties on ControllerConfig.
- GenericDataSource: Deprecated and modified to act as a thin wrapper around [ `org.apache.commons.dbpc.BasicDataSource` ]. Replaced by direct use of BasicDataSource or other compatible component.
- RequestUtils class: Modify to use ActionServletWrapper rather than expose ActionServlet.
- Added error message for the getActionErrors and getActionMessages method.
- getActionErrors and getActionMessages: Added methods to generate the correct corresponding object based on the object retrieved from request scope based on the key passed in.
- ActionErrors or ActionMessages: The logic for creating one of these objects has been moved to a utility method in RequestUtils.
- JspException message: Now generated in RequestUtils.
- ConvertUtils.convertCharacter(): Will now detect empty strings and return the default value.

Bean Taglib Package Changes

The following changes and bug fixes have occurred in the struts-bean custom tag library [ `org.apache.struts.taglib.bean` ]:

- <html:errors>: When the property tag is specified, errors are no longer printed if the specified property has no errors. Previously errors were always printed ! Future enhancements would include additional attributes to always turn off the header or footer.
- Made the remaining helper methods "protected" rather than "private".

HTML Taglib Package Changes

The following changes and bug fixes have occurred in the struts-html custom tag library (package `org.apache.struts.taglib.html` ):

- FormTag: Fixed to exclude query string when identifying action mapping name.
- ImgTag: Correctly URLEncode the query string parameter value even if there is only a single parameter.
- MultiboxTag.doAfterBody(): Corrected to return SKIP_BODY instead of SKIP_PAGE.
- Errortag: defaultLocale method is deprecated as it is unused.

Logic Taglib Package Changes

The following changes and bug fixes have occurred in the struts-logic custom tag library (package `org.apache.struts.taglib.logic` ):

- None.

Documentation Application Changes

The following changes and bug fixes to the Struts Documentation application (and corresponding contents on the Struts web site) have occurred:

- Reorganized Resources into separate pages..
- In the Tag Developers Guide, add more detail regarding file upload requirements.
- In Building View Components, clarify that additional i18n support may be provided by the browser, and is outside the scope of the framework.
- In Building Controller Components, document 'validating' init-param, add defaults for various parameters, clarify that some web.xml settings are not Struts-specific.
- Tag library documentation: Moved under User's Guide.
- Reorganized to separate 1.0 material from nightly build material.

MailReader Example Application Changes

The following changes and bug fixes to the Struts MailReader Example Application have occurred:

- Add Russian and Japanese translations of the application resources and set the character set for the example JSP pages to "UTF-8" so that it can display either English or Japanese.
- Exchange "name" for "attribute" properties for Edit mappings in Struts configuration file.
- Remove references to saving database data from "tour" document, since this functionality was removed.

Template Example Application Changes

The following changes and bug fixes to the Struts Template Example Application have occurred:

- None.

Exercise Taglib Example Application Changes

The following changes and bug fixes to the Struts Exercise Taglib Example Application have occurred:

- Added test case for <html:link> using "action" attribute.
- Added test cases for <html:select> using <html:options> and <html:optionsCollection> based on a collection saved in the page context.

### What's different?

This section provides links to the Struts JavaDoc for any classes that have been added or deprecated since the Struts 1.0 release.

Previously deprecated classes and packages removed in Struts 1.1

- Removed: `org.apache.struts.utils.BeanUtils` , `org.apache.struts.utils.ConvertUtils` , and `org.apache.struts.utils.PropertyUtils` - replaced by `org.apache.commons.beanutils`
- Removed: `org.apache.struts.util.ArrayStack` , `org.apache.struts.util.FastArrayList` , `org.apache.struts.util.FastHashMap` , `org.apache.struts.util.FastTreeMap` - replaced by `org.apache.commons.collections`
- Removed: `org.apache.struts.digester.*` - replaced by `org.apache.commons.digester`
- Removed: The `struts-config.dtd` - Replaced by `struts-config_1_1.dtd` .
- Removed: The omnibus "struts" taglib and its associated TLD - replaced by separate bean, logic, and html taglibs.
- Removed: The "form" taglib and its associated TLD - replaced by (renamed as) the html taglib.

Packages added in Struts 1.1

- config
- taglib.nested
- taglib.nested.bean
- taglib.nested.html
- taglib.nested.logic
- validator

Classes added in Struts 1.1

action

- ActionMessage
- ActionMessages
- DynaActionForm
- DynaActionFormClass
- ExceptionHandler
- RequestProcessor

actions

- LookupDispatchAction

taglib.html

- FrameTag
- JavascriptValidatorTag
- MessagesTag
- OptionsCollectionTag

taglib.logic

- EmptyTag
- MessagesNotPresentTag
- MessagesPresentTag
- NotEmptyTag

upload

- CommonsMultipartRequestHandler

util

- LabelValueBean

Classes with members added in Struts 1.1

action.Action

- ACTION_SERVLET_KEY
- APPLICATION_KEY
- MESSAGE_KEY
- PLUG_INS_KEY
- REQUEST_PROCESSOR_KEY
- execute
- getResources(javax.servlet.http.HttpServletRequest)
- saveMessages

action.A ctionServlet

- configDigester
- convertHack
- log
- processor
- getInternal
- destroyApplications
- destroyConfigDigester
- getApplicationConfig
- getRequestProcessor
- initApplicationConfig
- initApplicationDataSources
- initApplicationPlugIns
- initApplicationMessageResources
- initConfigDigester
- methods created for backward-compatiblity only
  - defaultControllerConfig
  - defaultFormBeansConfig
  - defaultForwardsConfig
  - defaultMappingsConfig
  - defaultMessageResourcesConfig

taglib.html.BaseHandlerTag

- indexed
- setIndexed
- getIndexed

Classes deprecated between Struts 1.0 and Struts 1.1

action

- ActionException
- ActionFormBeans
- ActionForwards
- ActionMappings

Classes with members deprecated between Struts 1.0 and Struts 1.1

action.Action

- FORM_BEANS_KEY
- FORWARDS_KEY
- MAPPINGS_KEY
- getResources()
- perform

ActionServlet

- findDataSource
- findFormBean
- findForward
- findMapping
- initDataSources
- methods created for backward-compatiblity only
  - defaultControllerConfig
  - defaultFormBeansConfig
  - defaultForwardsConfig
  - defaultMappingsConfig
  - defaultMessageResourcesConfig

###

Next: Installation