Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

lagging on loading image

 
hadzrul hashim
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all, i just need some opinion here. i have a servlet that will get an image from db in byte, then it will resize that image before viewing in jsp.
i would like to enhance my code to avoid the lagging on loading (printing to page). i want to put some loading for it but i dont know how to show something before it print the actual image.

below is my servlet
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic