This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: lagging on loading image
 
Similar Threads
Need help ImageToCode
Image to BufferedImage converter
Image smoothing
works on WinXP jdk 1.6 but not Linux jdk 1.5
Displaying images and thumbnails directly from database