This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes Image preview with upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Image preview with upload" Watch "Image preview with upload" New topic
Author

Image preview with upload

amit lkumar
Greenhorn

Joined: Mar 06, 2009
Posts: 4
Hi I am JSP, Servlet along with the jquery to upload an image and preview it. I am stuck at a point and unable to getit.

My JSP code looks like:



My Servlet code looks like:


Can anyone please help me out. The control flows from jsp to servlet but then it does not move back to jsp.
Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27

} catch(Exception ex) {
}

If you're trying to track down a problem, then what's with the empty catch blocks? How will you know which problems there are?


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image preview with upload
 
Similar Threads
Unable to write Image on Web Host Directory
problem with file uploading in struts
Unable To Write Image on Web Host Directory
Uploading file with special characters in name
getting the uploaded filename for downloading