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

[config] allow nocache attribute on a per forward basis and not only module-wide

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.4
    • Fix Version/s: Future
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      32394

      Description

      As per struts-config_1_2.dtd, there is nocache attribute in struts-config.xml
      for the
      <!ELEMENT controller
      Unfortunately, this appears to apply to the entire module.
      Wouldn't it be more efficient if that could be specified on a per
      "<!ELEMENT forward" level and the controller attribute would only be the default
      that can be overwritten by each forward?

      Or since a jsp file may be mentioned in several forwards, would it be even
      better to have an extra struts tag <bean:responseHeader name="Expires"
      value="Mon, 1 Jan 1990 12:00:00 GMT" />?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hauser@acm.org Ralf Hauser

              Dates

              • Created:
                Updated:

                Issue deployment