Mapped Diagnostic Context in Struts Action Class

2003-10-22 Thread Yu Xiang Xi (Maveo)
Hi, this is a combination question about both log4j and struts. For the MDC is managed on a per thread basis, we can use it to log the user IP address in the web application. While, as I remember, struts action class is designed to be thread-safe. If I try to log the user IP address in the

Re: Mapped Diagnostic Context in Struts Action Class

2003-10-22 Thread Donald Larmee | ALTERthought
I have done what you are attempting with no unexpected results... i.e., UserA maps to address 1 and UserB maps to address 2 just fine. The ability for this to work correctly really lies more with the Thread strategy employed by your servlet engine, and less on Struts in order for this to