In the Servlet API, you normally use a Servlet when you want to control, preprocess and/or postprocess specific requests.
This question is related to my other question "How to redirect to Login page when Session is expired in Java …
java session jsf servlet-filters viewexpiredexceptionI need to see my request body with a client JAX-RS request in order to verify that the serialization works …
logging jax-rs servlet-filtersI'd like the ability to modify/configure filters in a different way than web.xml. Here is a static configuration …
java servlets servlet-filters web.xmlI am embedding jetty into my app, and trying to work out how to add servlet filters (for cookie handling). …
java jetty servlet-filters embedded-jettyI have a servlet and a HTML page. How can I prevent the user from hitting the back button of …
java servlets servlet-filters servlet-3.0 servlet-listenersI have URLRewirteFilter which checks if requested domain starts with www. and redirects to no-www url. How can I stop …
java servlet-filtersWhat is the difference between a Servlet and Filter? What do you recommend to use for authorization to pages?
java servlets servlet-filtersI stumbled upon a bug in my web application that had me scratching my head (and eventually pulling my hair) …
tomcat servlets tomcat7 servlet-filtersweb.xml <filter> <filter-name>SessionCheckFilter</filter-name> <filter-class>filter.SessionCheckFilter</filter-class> &…
java servlet-filters web.xml url-patternPreface This is my first attempt at a Filter, be gentle. Project Description I am trying to finalize a build …
java servlets servlet-filters