> One more point, if Max Post Size is applied for content-type
> "application/x-www-form-urlencoded" only then why we can't upload file
> of 2GB
> or more than 2GB?
>
> In case of file upload header showing content-type
> "text/html;charset=ISO-8859-1".
>
> Browser does not initiates the file upload in case of file size >= 2GB
>
> I thought it was due to data type "int" for Max Post Size
You might be right, please try to get content-length like:
/Long.parseLong(request.getHeader("content-length"));/
instead of
/request.getContentLength();/
WBR,
Alexey.
> and hence its value
> can't be larger than Normal 0 false false false EN-US X-NONE X-NONE /*
> Style
> Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal";
> mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0;
> mso-style-noshow:yes;
> mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:"";
> mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in;
> mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt;
> mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan;
> font-size:11.0pt; font-family:"Cambria","serif";
> mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin;
> mso-fareast-font-family:"Times New Roman";
> mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria;
> mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";
> mso-bidi-theme-font:minor-bidi;} 2147483647 bytes Normal 0 false false
> false
> EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable
> {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0;
> mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99;
> mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in
> 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in;
> mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in;
> line-height:115%;
> mso-pagination:widow-orphan; font-size:11.0pt;
> font-family:"Cambria","serif";
> mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin;
> mso-fareast-font-family:"Times New Roman";
> mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria;
> mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";
> mso-bidi-theme-font:minor-bidi;} (1 less than 2 GB (2147483648 bytes)
>
> Thanks
>
> Krishan Babbar
>
>
> --
>
> [Message sent by forum member 'babbarkrishan']
>
> View Post: http://forums.java.net/node/788284
>
>