Posts Tagged ‘servlet filters’

Tutorial: HTTP Session handling using Servlet Filters

Tutorial: HTTP Session handling using Servlet Filters
Following small piece of code comes handy whenever you are working for a J2EE web application in JSP/Servlet/Struts/JSF or any Servlet oriented web framework. A lot of time we have to handle session errors in such applications and redirect user to particular error page. Generally user is redirected to the login page where she can giver her credential and log in the application again. In ... Full story

Java Servlet Filter tutorial example using Eclipse & Tomcat

Java Servlet Filter tutorial example using Eclipse & Tomcat
Servlet Filters are the latest components that are added in Servlet 2.3 specifications. These filters are used basically for intercepting and modifying requests and response from server.  Consider a scenario where you want to check session from the every users request and if it is valid then only you want to let the user access the page. You can acheive this by checking sessions on ... Full story
Copyright © 2010 ViralPatel.net. All rights reserved.