Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8355360 -d option of jwebserver command should accept relative paths
  3. JDK-8356954

Release Note: The `jwebserver` Tool `-d` Command Line Option Now Accepts Directories Specified With a Relative Path

XMLWordPrintable

      The `jwebserver` tool is updated to allow the `-d` and `--directory` command line options, configuring the directory to serve, to accept a directory specified with a relative path. This is made available both when `jwebserver` is invoked as an executable:

      ```
      jwebserver --directory some/relative/path
      ```

      and as a module:

      ```
      java --module jdk.httpserver --directory some/relative/path
      ```

      As earlier, `-d` and `--directory` command line options also still support absolute paths.

            vyazici Volkan Yazici
            vyazici Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: