You can use the "log" method in your servlet or jsp to write messages to the
container's default log file.
This is not container specific. However, the implementation of log files is
container specific. You may have
to refer the web server documentation to see how the log files are implemented.
Arun Nulu
Amit Gupta <[EMAIL PROTECTED]> on 03/09/2001 03:26:16 AM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Arun Kumar Nulu/TMs/TCSHYDERABAD/TCS)
Subject: servlet Question...
Since you guys are good in servlet, I am daring to ask this Question.
Is there any method defined in servlet API to find out the servlet
container's log file. I do not want to hard code the name of the file in my
code because I might be running the same servlet within different servlet
containers.
Amit Gupta
===========================================================================
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://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
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://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets