Hi,
Can any one explain me about this..
Which of the statements is true about the following deployment descriptor snippet?
<filter-mapping>
<filter-name>Filter1</filter-name>
<servlet-name>ServletToFilter</servlet-name></filter-mapping><filter-mapping>
<filter-name>Filter2</filter-name>
<url-pattern>/*</url-pattern></filter-mapping>
How come the answer for the above question is " Filter2 will be invoked before Filter1 if ServletToFilter is requested"
Becuase filters are invoked the order in which they apper in DD right..
so it should be Filter..
Can any one explain me about this..
Which of the statements is true about the following deployment descriptor snippet?
<filter-mapping>
<filter-name>Filter1</filter-name>
<servlet-name>ServletToFilter</servlet-name></filter-mapping><filter-mapping>
<filter-name>Filter2</filter-name>
<url-pattern>/*</url-pattern></filter-mapping>
How come the answer for the above question is " Filter2 will be invoked before Filter1 if ServletToFilter is requested"
Becuase filters are invoked the order in which they apper in DD right..
so it should be Filter..