Do you get the same problem submitting over http instead of https? If so, you can use a packet sniffer to see what's actually being submitted to figure out what IE's doing wrong. Otherwise you could try writing a filter to dump the raw request (the filter would need to keep a copy of the request to feed to the rest of the filter chain of course). Or use a debugger to step through the multipart handling code in Struts to observe what it's reading from the request.

Once you know what the request looks like you should be able to figure out if IE is sending bad data or if there's a bug in the request handling (which is not likely, but possible).

L.

temp temp wrote:

Yes I have  multipart/form-data in my jsp .

<form name="batchUploadForm" action="batchfileupload.do" method="post" enctype="multipart/form-data">





--- Laurie Harper <[EMAIL PROTECTED]> wrote:


What does your <form/> tag look like? Are you sure
you've specified method="POST" and enctype="multipart/form-data"?

L.

temp temp wrote:





  I am using jakarta commons fileupload to upload

a

file . It worked fine with Internet explorer  and
netscape navigator  with http protocol.
I configured my server to use https protocol.

I

tried  to upload a file it worked fine with

netscape

but did not work with internet explorer. I am

using IE

6.0


  Here is exception I get when I try to upload a

file

over https using internet explorer.
  I am using websphere 5.1 common fileupload  1.0

and Internet Explorer 6.0       

[8/12/05 8:05:47:223 CDT] 2e34f3c0 SystemOut     O
FATAL 2005-08-12 08:05:47,220
actions.BatchUploadAction:handleUnknownException -

the

request doesn't contain a multipart/form-data or
multipart/mixed stream, content type header is

null


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.parseRequest(FileUploadBase.java:299)

     at


com.bankerssystems.pac.batch.actions.BatchUploadAction.performAction(Unknown

Source)

     at


com.bankerssystems.pac.actions.AbstractActionBase.execute(Unknown

Source)

     at


org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)

     at


org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)

     at


org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)

     at


org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)

     at


javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

     at


javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

     at


com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

     at


com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

     at


com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)

     at


com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

     at


com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

     at


com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

     at


com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

     at


com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)

     at


com.bankerssystems.pac.auth.filters.SecurityFilter.doFilter(Unknown

Source)

     at


com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)

     at


com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)

     at


com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1040)

     at


com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:600)

     at


com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:201)

     at


com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)

     at


com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)

     at


com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)

     at


com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)

     at


com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)

     at


com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)

     at


com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:624)

     at


com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)

     at


com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)

[8/12/05 8:05:47:223 CDT] 2e34f3c0 SystemOut     O
FATAL 2005-08-12 08:05:47,220
actions.BatchUploadAction:handleUnknownException -

the

request doesn't contain a multipart/form-data or
multipart/mixed stream, content type header is

null


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.parseRequest(FileUploadBase.java:299)

     at


com.bankerssystems.pac.batch.actions.BatchUploadAction.performAction(Unknown

Source)

=== message truncated ===



                
____________________________________________________
Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs


--
Laurie Harper
Open Source advocate, Java geek: http://www.holoweb.net/laurie
Founder, Zotech Software: http://www.zotechsoftware.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to