wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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: 41132
    
  45

} 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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image preview with upload
 
Similar Threads
Uploading file with special characters in name
Unable To Write Image on Web Host Directory
Unable to write Image on Web Host Directory
problem with file uploading in struts
getting the uploaded filename for downloading