4. Exploring Filter Order with a Simple Example
Have a look at the following Servlet code:
Filter code as well:
We see how the filters are mapped in the deployment descriptor here:
We will now compile and run this web app example:
Go to:
http://localhost:8080/charity-registration/ServletOne
http://localhost:8080/charity-registration/ServletTwo ?
http://localhost:8080/charity-registration/ServletThree ?
Play around with the order to find out how it works