| 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
|
|
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.
|
 |
 |
|
|
subject: Doubt on Filters
|
|
|