permaculture playing cards*
The moose likes JSP and the fly likes Image files reference in JSP pages.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Image files reference in JSP pages.." Watch "Image files reference in JSP pages.." New topic
Author

Image files reference in JSP pages..

Sankar Srinivasan
Greenhorn

Joined: Sep 23, 2004
Posts: 4
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

Joined: Dec 11, 2004
Posts: 13410

The browser makes a separate request for each image.
This is no different than it would be with a static HTML file.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Don't get me started about those stupid light bulbs.
 
subject: Image files reference in JSP pages..