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

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

XMLWordPrintable

      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 .

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

                Created:
                Updated:
                Resolved:

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