java - display stream of images without refreshing the webpage to give user a video like experience -


i have series of images generated @ servlet. want show images on jsp page. want show images in way jsp page not refreshed image gets refreshed , replaced new one. thought of doing of applet or ajax. still looking convenient way of doing it. can suggest way of doing it? appreciated.

thanks in advance.

i'd go javascript if you. should pretty simple have list of images , set timer change source of image tag every second (or whatever). don't need "real" ajax that... changing attributes in dom.

admittedly may not great if images take while load - might want have cunning mechanism load all images beforehand, , change 1 visible @ 1 time, or that. still shouldn't need ajax or applet though.

i'm not sure i'd describe "video-like" experience - more slide-show - should okay. if want real video, use video :)


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -