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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 1.2.4
    • Future
    • Core
    • None
    • Operating System: All
      Platform: PC
    • 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

            Unassigned Unassigned
            hauser@acm.org Ralf Hauser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: