my dog learned polymorphism
The moose likes Servlets and the fly likes accessing log files of one app for another app Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "accessing log files of one app for another app" Watch "accessing log files of one app for another app" New topic
Author

accessing log files of one app for another app

C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
A Web-app in my Organisation creates some log files, which are inside its WEB-INF directory. Can I make another app within the same container to access contents within another app's WEB-INF ?

The reason I ask this is because I am not allowed to add any filters to the original app but can use the log files for further analysis. While this is currently being done manually , I would like to automate it.




Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26144
    
  66

You can access any file on the server for which the user has write permissions. Many people don't store their logs under the app directory at all and multiple apps can access those.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: accessing log files of one app for another app
 
Similar Threads
About JAMon Usage
Problems with servlet-mapping to redirect some JSPs...
Using Eclipse for Web App
Accessing different WAR resources
question about tld