struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26336] New: - Empty multipart form from Opera browser results in ServletException
Date Thu, 22 Jan 2004 07:57:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26336>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26336

Empty multipart form from Opera browser results in ServletException

           Summary: Empty multipart form from Opera browser results in
                    ServletException
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: inge.bakken@telenor.com


A SevletException occurs when posting an empty multipart form from an Opera (7.
23) browser. Posting an empty multipart form from IE works fine. The browsers 
and the server are running on Windows XP.

javax.servlet.ServletException: BeanUtils.populate
        at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
        at org.apache.struts.action.RequestProcessor.
processPopulate(RequestProcessor.java:821)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.
java:254)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)


====== This is the request from the Opera browser (This request fails) ====== 
POST /mboksadm/user/nen/send.do HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [nb]
Host: 10.248.149.31
Accept: text/html, application/xml;q=0.9, application/xhtml+xml;q=0.9, 
image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: nb,no,en
Accept-Charset: windows-1252, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Referer: http://10.248.149.25:8080/mboksadm/user/nen/send.do
Cookie: JSESSIONID=AOID4r76PH8Sx8O6m67PP7ozxHhR4eLNHOcoRrrldm3jTlcvIfcP!
-450388169!184063263!8014!7021
Cookie2: $Version=1
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
Content-length: 314
Content-Type: multipart/form-data; boundary=----------muaIgjZZJTsfdvA6TwGXUE

------------muaIgjZZJTsfdvA6TwGXUE
Content-Disposition: form-data; name="vmsNumberFile"


------------muaIgjZZJTsfdvA6TwGXUE
Content-Disposition: form-data; name="vmsNumbers"


------------muaIgjZZJTsfdvA6TwGXUE
Content-Disposition: form-data; name="update"

Send
------------muaIgjZZJTsfdvA6TwGXUE--


====== This is the request from the IE browser (This request works fine) ====== 
POST /mboksadm/user/nen/send.do HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.
ms-powerpoint, application/vnd.ms-excel, application/msword, */*
Referer: http://10.248.149.25:8080/mboksadm/user/nen/send.do
Accept-Language: no
Content-Type: multipart/form-data; 
boundary=---------------------------7d42af0c60162
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.
4322)
Host: 10.248.149.25:8080
Content-Length: 399
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=AOJVxwXJI2N4dThA6cAC5l9VjVE1DEnEI1G26eSWvLIxPakY5GwW!
-450388169!184063263!8014!7021

-----------------------------7d42af0c60162
Content-Disposition: form-data; name="vmsNumberFile"; filename=""
Content-Type: application/octet-stream


-----------------------------7d42af0c60162
Content-Disposition: form-data; name="vmsNumbers"


-----------------------------7d42af0c60162
Content-Disposition: form-data; name="update"

Send
-----------------------------7d42af0c60162--

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message