ICEfaces
  1. ICEfaces
  2. ICE-1580

Can not use inputFile in subdirectory

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#4
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      If you put an inputFile component on a page in the root directory, it works, otherwise if you put it in a page in a subdirectory, the upload fails, because the IFRAME tag is referencing /subdir/uploadHtml, but the upload servlet is listening at /uploadHtml

        Activity

        Hide
        Mark Collette added a comment -

        Now, instead of the InputFile rendering a relative path to the upload servlet, it uses an absolute path, derived from the request context path.

        Subversion 13883
        icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java

        Show
        Mark Collette added a comment - Now, instead of the InputFile rendering a relative path to the upload servlet, it uses an absolute path, derived from the request context path. Subversion 13883 icefaces\component\src\com\icesoft\faces\component\inputfile\InputFile.java
        Hide
        Paul van Rossem added a comment -

        Please note that this broken again since 1.7.1, see also ICE-3200.

        Show
        Paul van Rossem added a comment - Please note that this broken again since 1.7.1, see also ICE-3200 .

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: