Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-1429

User Guide 2.3 implies session scope for all form beans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Nightly Build
    • 1.1 Family
    • Core
    • None
    • Operating System: other
      Platform: Other
    • 19459

    Description

      Current text:
      "Struts controller servlet will automatically perform the following services for
      you, before invoking the appropriate Action method:

      • Check in the user's session for an instance of a bean of the appropriate
        class, under the appropriate key.
      • If there is no such session scope bean available, a new one is automatically
        created and added to the user's session.

      This makes it look like all form beans have session scope. Suggested
      modification to bullet list:

      • If the form bean has session scope, check in the user's session for an
        instance of a bean of the appropriate class, under the appropriate key. If there
        is no such session scope bean available, a new one is automatically created and
        added to the user's session.
      • If the form bean has request scope, a new instance of the bean is created and
        added as a request attribute.

      Attachments

        Activity

          People

            Unassigned Unassigned
            phil@steitz.com Phil Steitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: