• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding showing thumbnails

 
gaurav chaudhary
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, this is regarding showing thumbnails in a web page. I have a web page where I have to show 60 thumbnails fetched from our dms server. Now, what we do is, we make different links like the url from which first image will be loaded is http://xxxx/xyz=image1 and so on. The problem is I want to synchronize the response object with the images. Meaning all the images come on the client side at one go and server connections are not made differently for each image. Means i want to get whole data at one go. Now I don't know at all from where to start. I just want a starting point for this.
thanks in advance
gaurav chaudhary
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can't.
browsers initiate a request for each element on a page separately after the request for the initial page has been processed (which tells the browser on parsing the html which things to request from where), this includes images (as well as applets, flash, iframes, etc. etc.)
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the other hand, since HTTP 1.1, there is the concept of "persistent connections" - that is, a browser can reuse a connection for subsequent requests to the same server. In Java this is enabled per default - see the "http.keepAlive" property at http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!