Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Sun Java Studio Creator
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Apr 2, 2009 9:22 AM by
UploadedFile.getContentType() returns different types
Apr 2, 2009 9:22 AM
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
This content has been marked as final.
Show 0 replies