Java EE online number management system
•
Java
This blog is a summary of filter, listener and servlet technologies. It realizes the functions of simply displaying the number of online people, details of online people and kicking by administrators
Here is the detailed code
web. xml
index. jsp
/jsps/show. jsp
User. Java (value object)
MySessionListener. Java (listener)
CharacterFilter. Java (character filter)
LoginFilter. Java (prevent tourists from accessing the filter)
LoginServlet. java
ShowServlet. java
KickOutServlet. java
LoginOutServlet. java
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码