Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-671

When loading ApplicationContext resources, use resource.getInputStream() instead of resource.getFile()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None

      Description

      Since you are never guaranteed that an application is deployed in an exploded form, depending on Resource#getFile() will not always semantically make sense. Thus, you should instead use InputStreamSource#getInputStream() whenever possible.

      If you need further input, please contact me directly.

      Thanks,

      Sam

        Attachments

          Activity

            People

            Assignee:
            kdonald Keith Donald
            Reporter:
            sbrannen Sam Brannen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: