struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi <>
Subject Re: newFixedThreadPool in struts2
Date Fri, 09 Feb 2018 21:02:10 GMT
Hello Yasser,
> You can write your own listener by implementing HttpSessionListener 
> and call shutdown in it's `sessionDestroyed` method. Please see [1]. 
> [1]
In HttpSessionListener, it seems that there are no session attributes 
anymore. So, there is no way for me to do the following in the listener 

fixPool = session.getAttribute('fixpool_name');

So, the only possible way is through springframework config, right?

Thanks a lot.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message