File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39544
    
  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
Unable to write Image on Web Host Directory
problem with file uploading in struts
getting the uploaded filename for downloading
Uploading file with special characters in name