This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image files reference in JSP pages..