Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i register a filter #11

Open
nagendra-sharman opened this issue Oct 3, 2022 · 1 comment
Open

How do i register a filter #11

nagendra-sharman opened this issue Oct 3, 2022 · 1 comment

Comments

@nagendra-sharman
Copy link

I tried server.addFilter(String, Filter) but it doesn't seem to work. I am looking to add a basic filter which checks if session is valid on each request.

@nagendra-sharman nagendra-sharman changed the title Ho do i register a filter How do i register a filter Oct 4, 2022
@drogatkin
Copy link
Owner

A filter is adding as a part of web application deployment. See for example : https://www.digitalocean.com/community/tutorials/java-servlet-filter-example-tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants