aspose file tools
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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Image files reference in JSP pages.." Watch "Image files reference in JSP pages.." New topic

Image files reference in JSP pages..

Sankar Srinivasan

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 ?
The Webserver will parse the HTML file again and send the related image files to browser client ?

Thanks in Advance
Ben Souther

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
Have you tried LearnNowOnline?
subject: Image files reference in JSP pages..