Default Tomcat settings keep generated .java files in the Tomcat work directory

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Medium
    • None
    • Affects Version/s: 4.2
    • Component/s: None
    • 4.02

      In Tomcat 5.5 onwards, there is a setting called "keepgenerated" that retains the generated .java files generated from the .jsp files, for debugging purposes. By default, this is set to true.

      We should be overriding this our server.xml or web.xml to false, as source files living on production servers can be viewed as a security risk by some organisations.

            Assignee:
            Unassigned
            Reporter:
            Penny Wyatt (On Leave to July 2021)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: