aspose file tools*
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
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: 61766
    
  67

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: 61766
    
  67

Moved to the Tomcat forum for further discussion.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does someone access an image?