ICEfaces
  1. ICEfaces
  2. ICE-1793

OC4J servlet container assign application/octet-stream to blank.iface

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#1
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Any ICEfaces application running on OC4J 10.1.3 and Firefox 2.x

      Description

      An ICEfaces application running in OC4j 10.1.3 Servlet container loaded with Firefox will present a user with a download dialog.

      The ServeBlankPage class is responsible for serving up the content stream associated with the blank.iface stream but it doesn't add a context-type header to the response. OC4J is nice enough to add an application/octet-stream for us which causes FireFox to prompt the user for a download.

        Activity

        Hide
        Patrick Corless added a comment -

        The fix for this looks to be pretty simple: add the proper content-type header to the ServeBlankPage response. This will have to be test to make sure that actually work for OC4J. Another alternative would be to change the name of the file to blank.html and most browsers would know what to do.

        One last note this problem only seem to occur on FireFox.

        Show
        Patrick Corless added a comment - The fix for this looks to be pretty simple: add the proper content-type header to the ServeBlankPage response. This will have to be test to make sure that actually work for OC4J. Another alternative would be to change the name of the file to blank.html and most browsers would know what to do. One last note this problem only seem to occur on FireFox.
        Hide
        Patrick Corless added a comment -

        check in fix rev. 14320

        Show
        Patrick Corless added a comment - check in fix rev. 14320

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: