aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on Filters Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Doubt on Filters" Watch "Doubt on Filters" New topic
Author

Doubt on Filters

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 411
Hi,
With regard to the order in which filter is called, it is said that the ordr in which they appear in the DD does not matter. Can anybody elaborate on this?
With regards,
Padma priya N.G.


Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14669
    
  11

Wrong. From the spec :

The order the container uses in building the chain of filters to be applied for a particular request URI is as follows:
1. First, the <url-pattern> matching filter mappings in the same order that these elements appear in the deployment descriptor.
2. Next, the <servlet-name> matching filter mappings in the same order that
these elements appear in the deployment descriptor.


[My Blog]
All roads lead to JavaRanch
Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 411
Hi,
Thanks.
With regards,
Padma priya N.G.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Doubt on Filters
 
Similar Threads
Parking the car....
Jboss Experts - Bangalore
how can i insert a null value in a table
Ant Build Successful but neither jar file nor build folder created ?
Websphere docs