This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Html page rendering Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Html page rendering" Watch "Html page rendering" New topic
Author

Html page rendering

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 973
In page 12 of Head First JSP & servlets, the author says that...

when the html page is being rendered . it makes another request from the server ..for any image tags...

So if the page has 20 images..will the cleint make 20 requests to the server for these 20 images related to a single page...

Thanks in advance,
Regards
Kishore Balla
Ranch Hand

Joined: Jun 08, 2005
Posts: 165
Originally posted by A Kumar:

So if the page has 20 images..will the cleint make 20 requests to the server for these 20 images related to a single page...


Yes.. It will..

Not only for images.. Even for external .js(javascript) files and .css (style sheet) files, browser will make a separate request to server to download.


SCJP 5.0 : 88% My Story, SCWCD 1.4 : 94% My Story
kishoreballa.com
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 973
Thanks Kishore!!!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Html page rendering
 
Similar Threads
How much would putting a webservice in my app affect performance?
How I can refresh images in applet
JSP page inconsistent in rendering images
how to see the multiple images from database
images in the gui