Amol Nayak wrote:The object will be created only if the reqest if for a Dynamic resource (JSP or servlet) and not for any static resource on the Server.
Kris Schneider wrote:
So, depending on how you define "static resource", having filters or servlets operate on the request will cause a request listener to be created...
Amol Nayak wrote:Are you saying there are explicit mappings to static resources like *.jpg, *.bmp , *.html etc to some servlets and filters? Well that is unlikely, even if you do, the request will be intercepted by the Servlet/Filter and the requested resource will be served to you only if the Servlet/Filter has the logic to do so.
Amol Nayak wrote:Having a look at the web.xml can give us some clues.
Parthiban Mahiby wrote:So please clarify me.