File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Html page rendering

 
A Kumar
Ranch Hand
Posts: 980
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 165
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
A Kumar
Ranch Hand
Posts: 980
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kishore!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic