I have used NDC's. To put in very simply, it is some context information attached with a thread. More context information can be pushed/popped as required.
In a client/server application, you may typically push the NDC for every client thread containing informatiion which will help you debug (like user-name, session details etc). This would be done at the first level interface class. (the server class which interfaces with the transport mechanism) I have never used JSP', but guess should not be too diff. Can you give us more details as to what you need it for ? Cheers, ~preetham > -----Original Message----- > From: Sandeep [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2003 3:57 PM > To: 'Log4J Users List' > Subject: Nested Diagnostic Context > > > > > Hi All , > > DO any one have example or document using NDC (Nested > Diagnostic Context) for webapplication as in jsp. > > TIA > > > > Note > ************************************************************** > ********** > > This email including any attachments is intended solely for > the use of named recipient only.If you are not that person, > you are not authorized to read,copy,forward,disclose,take any > action on information.Any other use of this email and > attachments is prohibited.The views expressed in this email > are not necessarily those of BMA.If you received this email > by mistake, please destroy all copies and contact to the > sender by email.your cooperation is appreciated. > > ************************************************************** > ************** > ********* > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]