Comment from customer:
So, the results are mostly positive. I am now able to upload files in all of the 4 browsers we've tested. I did notice one thing that is less critical, but would still be nice if it was working correctly.
When I go to the page in Safari 3 on the mac, I upload a file. I then hit reload (this was part of the test, since previously the problem seemed intermittent). What happens is that the iframe comes up with HTTP Server error 500:
[#|2009-03-27T11:29:41.659-0400|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=f625b5ab-1e6a-4958-9790-30cbf919c12d;|StandardWrapperValve[uploadServlet]: PWC1406: Servlet.service() for servlet uploadServlet threw exception
org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null
at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:862)
at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:325)
at org.apache.commons.fileupload.servlet.ServletFileUpload.getItemIterator(ServletFileUpload.java:148)
at com.icesoft.faces.webapp.http.core.UploadServer$2.servlet(UploadServer.java:53)
at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.detectEnvironment(ServletRequestResponse.java:228)
at com.icesoft.faces.webapp.http.core.UploadServer.service(UploadServer.java:50)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet.service(GlassFishAdaptingServlet.java:60)
at
I tried this while reloading the page when coming to it fresh (before uploading a file) and it also happened. When we did the same test on Safari 4 on Windows, this did not happen. Still waiting to test on Safari 3 for Windows (or 4 for Mac, for that matter).
Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputfile\InputFileRenderer.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputfile\InputFileRenderer.java
Completed: At revision: 18639