Filter LifeCycle

Hi,

Hows does a Filter work in terms of its object instantiation and destroy. Is it a singleton class? Or is there a new instance of a Filter created for each client accessing the page ?

I couldnt find any information on this.

Please help

thanks

Riz

[286 byte] By [riz_infya] at [2007-11-27 10:43:21]
# 1

It has the same life cycle as a Servlet. One instance is created to handle multiple requests

tolmanka at 2007-7-28 19:59:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Thanks for the response.

riz_infya at 2007-7-28 19:59:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...