| Author |
Doubt on Filters
|
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
Guys, Can we use <servlet-name> and <dispatcher> together for a filter DD mapping?
|
SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
Yes you can. For example : If you try to include the JothiServlet using a RequestDispatcher#include, the request will be filtered. You can get a RequestDispatcher by a servlet name via ServletContext#getNamedDispatcher:
|
[My Blog]
All roads lead to JavaRanch
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
|
Thanks Christophe!
|
 |
 |
|
|
subject: Doubt on Filters
|
|
|