Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Nightly Build
-
None
-
Operating System: other
Platform: Other
-
19458
Description
The ActionMapping Example
(http://jakarta.apache.org/struts/userGuide/building_controller.html#config) says,
"When a request that matches this path is received, an instance of the
LogonAction class will be created (the first time only) and used. The controller
servlet will look for a session scoped bean under key logonForm, creating and
saving a bean of the specified class if needed."
But the form in the example has request scope, so this is not correct. A new
form will be created for each request and added as a request attribute.