HttpSessionAdapter [message #1738197] |
Mon, 18 July 2016 01:49  |
Eclipse User |
|
|
|
Hi,
I am building a Rap application, and a nice feature that I had was that I was able to RWT.getRequest().getSession().setAttribute("usename", user1+"-"+phonenumber);
RWT.getRequest().getSession().setAttribute("ipAddress", ipAddress);
This way When I was going to the tomcat manager page I was able to see on each session who was logged in, his/her phone number and from which IP address. Very handy when you have to support users.
All that worked ok while I was using RAP 2.1 but since I upgrade to RAP 3.1 I found out that the org.eclipse.equinox.http.servlet.internal.servlet.HttpSessionAdapter instead of doing a simple setAttribute it started to wrap the attribute in a HttpSessionAttributeWrapper. As a result tomcat manager don't know what to do with it and how to display it. (this is what I think, any way).
Does anybody have any idea how to work around this change?
Thanx.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02945 seconds