I don't think you can use a servlet from an web application to control other web 
applications, nor should you. Anyway even if you could set it on
your Tomcat instalation, by changing some files, as you said, the web application 
would't work the same on another machine.
Java Servlet Specification Version 2.3 has a new feature: the filters. I think you can 
use those, they might fit your needs. But even those are
application specific (they are declared in the web application descriptor), so at 
least their description must be included in each application.
Tomcat 4.0 (and newer versions) are implementations of the 2.3 specifications. I 
suggest you use this if you need any kind of event listeners.
Good luck,
Paul

11.03.2002 11:11:54, sreehari sai <[EMAIL PROTECTED]> wrote:

>Hi all
>
>Pl Give Suggestions
>
>I am using a Log Servlet to Log the Requests of the Application
>
>here i am using a custom format of the log file for my purpose
>
>Now i want the same servlet to log all the requests of the Tomcat3.2 server
>
>How can i use this servlet to log every request for the server
>
>which files should be changed for this to effect on all requests
>
>Dose any one try this ?
>
>
>
>
>
>Thanks ina advance
>Hari
>
>
>
>
>
>---------------------------------
>Do You Yahoo!?
>Try FREE Yahoo! Mail - the world's greatest free email!
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
>

----------------------------------------
Paul Balanoiu
Bucharest, Romania

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to