What is Portlet Filter

The Portlet Specification 2.0 has introduced concept of Portlet Filters similar to the Servlet filter, basic idea is Filters will get chance to execute some business logic before and after your portlet.

Portlet Filters can be used for implementing following type of functionality

  • The modification of request data by wrapping the request in customized versions of the request object

  • The modification of response data by providing customized versions of the response object.

  • The interception of an invocation of a portlet after its call



Even though the Portlet Filters try to copy the concept of Filters from Servlet Filters these are some of the main differences

  • The Servlet filters are mapped to particular URL, but since the Portlet Filters are not URL addressable, you will have to map filter to portlet

  • The Servlet life cycle has only one entry point which is service() method which calls either doGet, doPost based on HTTP method. In case of portlet the request processing can be divided into 4 types, render, action, resource and event and there is a separate filter for each of those types

3 comments:

Vikas Chaudhary said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

srjwebsolutions said...


We are leading responsive website designing and development company in Noida.
We are offering mobile friendly responsive website designing, website development, e-commerce website, seo service and sem services in Noida.

Responsive Website Designing Company in Noida
Website Designing Company in Noida
SEO Services in Noida
SMO Services in Noida

EG MEDI said...

Egmedi.com is online medical store pharmacy in laxmi nagar Delhi. You can Order prescription/OTC medicines online.
Cash on Delivery available. Free Home Delivery


Online Pharmacy in Delhi
Buy Online medicine in Delhi
Online Pharmacy in laxmi nagar
Buy Online medicine in laxmi nagar
Onine Medical Store in Delhi
Online Medical store in laxmi nagar
Online medicine store in delhi
online medicine store in laxmi nagar
Purchase Medicine Online
Online Pharmacy India
Online Medical Store