File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ranch Office and the fly likes Error while upload image after validation fail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Error while upload image after validation fail" Watch "Error while upload image after validation fail" New topic
Author

Error while upload image after validation fail

Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

Hello,

I have an error while upload image. I have upload first large size image and Java Ranch make it validate and give message image to large for upload. But after I have upload less size image it gives error. For detail find attached screen shot for error.




[Thumbnail for error.JPG]


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Looking at the code, I can see that this would have been caused by an I/O error while parsing the form submission. Unfortunately the precise error message would be in the part of this screen that's scrolled off to the right where we can't see it.

Was this a one-time thing, or is it reproducible?


[Jess in Action][AskingGoodQuestions]
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

I have upload Image first time at Java Ranch today two times and both the time I am facing same problem. SO for uploading image I have to go again home page and post reply again with small Image.. So first upload Large size image, it gives error message and try to upload small image will produce error..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while upload image after validation fail
 
Similar Threads
image compression without any defect
Resize image when upload ing to the server
image compression
image resizing
Image compression on client side