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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.0
    • 2.0.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: