This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image files reference in JSP pages..

 
Sankar Srinivasan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need clarfication with reference to static elements in JSP file.

I have JSP file which is convereted into HTML file by application server and the same is returned to the web server where the request was originated.

Assume there are few images files referenced within the JSP page.

I would like to know whether image files will be forwarded by the AppServer to Weberver and Webserver will forward the images+HTML to browser client ?
(OR)
The Webserver will parse the HTML file again and send the related image files to browser client ?

Thanks in Advance
Sankar
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The browser makes a separate request for each image.
This is no different than it would be with a static HTML file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic