• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image preview with upload

 
amit lkumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

} 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic