• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload

 
Chandra Sekhar
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I got one file upload Servlet. When I try to upload files of considerably large size, it gives me a blank page. What could be the problem?

We can handle this at the server side. But if some checks can be done before Form submission it would be better. Any suggestions would be of great help.

I found the same in some popular mail sites. Even though they offer upload in Mega Bytes when I tried to upload files of size in MB's say 2-5 MB (less than what they offer) I got a blank page.

As per RFC 1867 says:

If the INPUT tag includes the attribute MAXLENGTH, the user agent should consider its value to represent the maximum Content-Length (in bytes) which the server will accept for transferred files.

What really this means? I think this is not implemented by most of the popular browsers.

Thanks in Advance

Chandrasekhar S.
Preparing for SCWCD...
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chandra Sekhar:

If the INPUT tag includes the attribute MAXLENGTH, the user agent should consider its value to represent the maximum Content-Length (in bytes) which the server will accept for transferred files.


thanks. i didn't know this. it is good. you save my minutes.
 
Chandra Sekhar
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by adeel ansari:


thanks. i didn't know this. it is good. you save my minutes.



The attribute MAXLENGTH currently does nothing !!!..


Chandrasekhar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!