This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41592
    
  55

} 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