I am Ujjwal Soni & I have a problem in logging for my website. I have used Method Interceptor & i am unable to get from the Request or the Session object from which i can fetch the username from it. I want to know how to fetch username from the MethodInterceptor. Can you tell me how it can be, by any example. Also, I am using spring framework 2.0 for building my website & in logging part of my website i have used method interceptor for intercepting every call of every method but i am able to intercept the call & i am able to log methods successfully but in that username is what i am not able to get. In short i want "WHO DOES WHAT" in my log. I am using API of spring framework 2.0 .


Ujjwal B Soni