posted 10 years ago
Hello everyone, I have problem in my struts2 application, actually when log in i want share that user name within all action class and after logout that user name must be remove from action context....
I'm giving the error code below which give nullpointer exception error whenever the user name trying to remove from action context....Please help me out of this
1) Login class:- 1st action class:--- In that in put the username into action context application
2) SessionListerner class:- in that im coding when the destroyed method call itself that time i want remove the username from context:--below the coding