Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2790

struts.xml configuration problem with <include>

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: XML Configuration
    • Labels:
      None

      Description

      Using include tag this way:
      <include file="/com/xpto/conf/struts-global-conf.xml" />
      Just works with Tomcat, and with Jetty fails sillently (if you put a wrong path, it fails silently even with Tomcat). Using this way(without the initial slash):
      <include file="com/xpto/conf/struts-global-conf.xml" />
      Works in both.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              plentz Diego Plentz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: