This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 689

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: 24189
    
  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: 689

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Error while upload image after validation fail
 
It's not a secret anymore!