Hi, Why is it MUST to use the forward slash with the getRequestDispatcher() method of the ServletContext.
whereas it is not mandatory for the getRequestDispatcher() method of the ServletRequest
posted 11 years ago
that's because the ServletContext only have information about the context, and do not have any ideia of the request's path. But this info (the path of the request), it's necessary for supporting the relative not-back-slash String path, that the dispatcher ServletRequest gives you support.
<b><i>Bengt Hammarlund</i><br />� Sun Certified Java Programmer</b>