This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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..
 
Similar Threads
Servlet can't find Image file.
Loading problem with t:inputFileUpload
how to display images on JSP in struts2
serving HTML with images from the database
Jasper Report in Struts JSP