Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2265

WebUtils#getRealPath("config-data/TESTDEV") cannot be resolved to absolute file path

    XMLWordPrintable

Details

    Description

      In windows , when use the WebUtils.getRealPath("config-data/TESTDEV") , it returns error message : ServletContext resource [/config-data/TESTDEV] cannot be resolved to absolute file path.

      but WebUtils.getRealPath("/") can return the true path . that is to say , this method can't parse the backslash followed by a string . but it works good in linux/unix .

      Attachments

        Activity

          People

            tomazcerar Tomaž Cerar (Inactive)
            kobe_fans zhihong liu (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3 weeks
                3w
                Remaining:
                Remaining Estimate - 3 weeks
                3w
                Logged:
                Time Spent - Not Specified
                Not Specified