The following changes and bug fixes have occurred in the configuration
files related to Struts:
The following changes and bug fixes have occurred in the basic
controller framework (package org.apache.struts.action
):
- Modify ActionForm class to use ActionServletWrapper rather than expose ActionServlet.
- Add ActionServletWrapper class. Used by ActionForm to prevent the Public String properties of ActionServlet from being changed via a query string.
- Unconditionally pass the selected mapping as a request attribute under key Action.MAPPING_KEY, even if no form bean is specified.
- Avoid a NullPointerException in corner cases caused by failed initialization of ActionServlet.
The following changes and bug fixes have occurred in the file upload
package (package org.apache.struts.upload
):
- Fixed lost byte problem in BufferedMultipartInputStream
- Fixed ArrayIndexOutOfBoundsException situations
- Better reporting for premature closing of input streams while reading multipart requests.
- Additional fix for file corruption problem with uploads and new line characters.
The following changes and bug fixes have occurred in the utilities
(package org.apache.struts.util
):
- Modify RequestUtils class to use ActionServletWrapper rather than expose ActionServlet.
ConvertUtils.convertCharacter()
will now detect empty strings and return the default value.
The following changes and bug fixes have occurred in the
struts-bean custom tag library (package
org.apache.struts.taglib.bean
):
- Correct the generated scripting variable type when the <bean:cookie>, <bean:header>, or <bean:parameter> tag is used with the "multiple" attribute.
The following changes and bug fixes have occurred in the
struts-html custom tag library (package
org.apache.struts.taglib.html
):
- Fixed FormTag to exclude query string when identifying action mapping name.
- Correct MultiboxTagdoAfterBody() to return SKIP_BODY instead of SKIP_PAGE.
- Added the 'align' attribute to the <html:image> tag.
- On the Options tag, if the property specified by the "property" attribute returns null, it now throws an error message that indicates what the real problem is, rather than causing an NPE.
- Added 'style' and 'styleClass' attributes for <html:option> and <html:options> tags.
- Correctly URLEncode the query string parameter value on ImgTag, even if there is only a single parameter.
The following changes and bug fixes have occurred in the
struts-logic custom tag library (package
org.apache.struts.taglib.logic
):
- The
<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.
The following changes and bug fixes to the Struts Documentation
application (and corresponding contents on the Struts web site) have
occurred:
- Add installation notes for Jetty.
- In the Tag Developers Guide, add more detail regarding file upload requirements.
- In the Introduction, added references to basic background material.
- 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.
- Correct the example page in the User's Guide (Building View Components) to reflect current practice.
- Revised installation instructions for SilverStream and Resin.
The following changes and bug fixes to the Struts Example Application
have occurred:
- Remove references to saving database data from "tour" document, since this functionality was removed.
The following changes and bug fixes to the Struts Template Example
Application have occurred:
The following changes and bug fixes to the Struts Exercise Taglib Example
Application have occurred:
- Added test case for <html:select> using <html:options> based on a collection
saved in the page context.