aspose file tools*
The moose likes I/O and Streams and the fly likes lagging on loading image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "lagging on loading image" Watch "lagging on loading image" New topic
Author

lagging on loading image

hadzrul hashim
Greenhorn

Joined: Jan 03, 2007
Posts: 6
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: lagging on loading image