0 Replies Latest reply on Apr 2, 2009 2:22 PM by 807575

    UploadedFile.getContentType() returns different types

      Working on a project on Creator 2 where I use the Class "UploadedFile" from com.sun.rave.web.ui.model
      I use the method getContentType() to get the type of file of a xml file.

      I expect to get "text/xml"

      When I run on Creator I get the correct type "text/xml"

      When I deply on Glassfish and run again, the type of file returned by the same code is "application/xml"

      Anyone experienced this??
      Im a little bit lost here