Filter and Listener are all based on java reflection mechanism
We can use the filter to implement the user authentication
We can use the listener to integration with the 3-party framework & plugin in servlet container
Filter and listener all can be used to do character encoding conversion which from endpoint users
这道题你会答吗?花几分钟告诉大家答案吧!