是用ThreadLocal来实现吗? 怎么没访问一个页面Thread都不一样呢,我是根据Thread#id来判断的
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
Solved it by myselfAfter passing the filter, if it is not accessed once, just reset ThreadLocal once and it will be ok
Solved it by myself
After passing the filter, if it is not accessed once, just reset ThreadLocal once and it will be ok