There is no relation between this method from two different interfaces. It is just that in case of SetvletContext.getRequestDispature method(url), url must be relative to the root of your web application while this can be or not can be true with ServletRequest.getRequestDispature method(url) method.
Can the request dispatcher obtained from the context point to a different application... i mean to a different application?
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
Brij Garg
Ranch Hand
Joined: Apr 29, 2008
Posts: 234
posted
0
Can the request dispatcher obtained from the context point to a different application... i mean to a different application?
I dont think so. Because every application has its own context. RequestDispature which is obtained, can forward or include resources within that context only.