This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 24183
    
  34

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..
 
jQuery in Action, 2nd edition
 
subject: Error while upload image after validation fail
 
Similar Threads
image resizing
Image compression on client side
image compression
Resize image when upload ing to the server
image compression without any defect