File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes document opened through IE it is working fine but other browser giving error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "document opened through IE it is working fine but other browser giving error" Watch "document opened through IE it is working fine but other browser giving error" New topic
Author

document opened through IE it is working fine but other browser giving error

Ramasubramaniam Rathinasubbu
Ranch Hand

Joined: Jun 09, 2010
Posts: 42
Dear all,

I have opened the document through IE it is working fine (file size is 60 MB) using servlet

but if i open the document through firefox, it is giving error

The error is

The following error was encountered:
The request or reply is too large.

If you are making a POST or PUT request, then your request body (the thing you are trying to upload) is too large. If you are making a GET request, then the reply body (what you are trying to download) is too large. These limits have been established by the Internet Service Provider who operates this cache. Please contact them directly if you feel this is an error.
Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 368
By any chance, are you using a squid proxy with firefox. If that's the case, the proxy would have a request_body_max_size directive set to lesser than 60 mb.


Thanks and Regards
Ramasubramaniam Rathinasubbu
Ranch Hand

Joined: Jun 09, 2010
Posts: 42
proxy is there, but after that i have disabled the proxy.

now i am getting , the file is corrupted or damaged.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: document opened through IE it is working fine but other browser giving error
 
Similar Threads
Deployment Descriptor problem
How to include css in new window using javascript
Deployment Descriptor problem
Automation server error
runtime error when loading result with inerhtml in IE6.0 with ajax