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 Tomcat and the fly likes Does someone access an image? 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 » Products » Tomcat
Bookmark "Does someone access an image?" Watch "Does someone access an image?" New topic
Author

Does someone access an image?

Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226
There are few images stored in my web server, say Tomcat 5. Now i am using the path of that image in some other site. say the path of my image is

http://localhost:8080/SiteOne/images/image1.jpg

I am using this path in other site ... say http://localhost:8080/SiteTwo/inedx.jsp

Now, when i'll load the index page of SiteTow, it will request the image from the SiteOne. Is there any way that i can keep track in SiteOne that which image is being requested by which site, from which ip and which time?


The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61105
    
  66

Varoious containers have means of instituting access logs. What's your container?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226
Container ... emm, what you mean by it. I don't know exactly what you are asking.

I am running my both apps on Tomcat 5.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61105
    
  66

Moved to the Tomcat forum for further discussion.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Does someone access an image?