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 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 Android Security Essentials Live Lessons this week in the Android 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: 60810
    
  65

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: 60810
    
  65

Moved to the Tomcat forum for further discussion.
 
Consider Paul's rocket mass heater.
 
subject: Does someone access an image?
 
Similar Threads
Configuring Apache Webserver
Paths in Tomcat standalone mode
path directing script needed
sendRedirect problem
images in servlet