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

add servlet-mapping path style support for include tag in config file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.11
    • 2.1.0
    • XML Configuration
    • None
    • Important

    Description

      I wish struts2 can do this like spring configuration "classpath*:resources/applicationContext-*.xml",it make more easy for modularization and plugin.

      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE struts PUBLIC
      "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
      "http://struts.apache.org/dtds/struts-2.0.dtd">
      <struts>
      <constant name="struts.devMode" value="true" />
      <constant name="struts.i18n.encoding" value="UTF-8" />
      <include file="resources/struts-*.xml" />
      </struts>

      Attachments

        Activity

          People

            rainerh Rainer Hermanns
            quaff Yanming Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: